Advisory

GHSA-c795-2g9c-j48m

Also known as: CVE-2026-58499

Summary

EverOS: Path traversal in EverOS /api/v1/memory/add via unvalidated sender_id

Details

EverOS versions 1.0.0 and earlier are vulnerable to path traversal in the POST /api/v1/memory/add ingestion endpoint. The per-message sender_id field was not validated as a path-safe identifier (unlike app_id / project_id, which already enforced this). During user-memory extraction, sender_id is used as the owner_id and joined into the filesystem path where the extracted episode is persisted as a Markdown file. A sender_id containing ../ sequences could direct the write outside the configured memory root, allowing an unauthenticated caller to create or overwrite .md files at locations writable by the server process (unauthorized arbitrary file write). The file content is partially attacker-influenced.

Patch: Fixed in v1.0.1 with (1) path-safe validation on sender_id (character whitelist plus rejection of the . and .. tokens) and (2) a defense-in-depth containment check in the Markdown writer that rejects any write resolving outside the memory root before any filesystem access, covering both the write and the append read-modify-write paths.

Remediation: Upgrade to EverOS 1.0.1. There is no workaround for affected versions other than upgrading.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-19 21:43 UTC
Modified
2026-07-12 04:11 UTC

Affected packages and fixes

everos

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.1 (ecosystem)

Fixed versions

1.0.1

Fix

  • Fixed version 1.0.1
    pip install --upgrade everos==1.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences