GHSA-c795-2g9c-j48m

Suggest an improvement
Source
https://github.com/advisories/GHSA-c795-2g9c-j48m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-c795-2g9c-j48m/GHSA-c795-2g9c-j48m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c795-2g9c-j48m
Aliases
Published
2026-06-19T21:43:12Z
Modified
2026-07-12T04:11:43Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-19T21:43:12Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

PyPI / everos

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.1

Affected versions

0.*
0.0.2
0.1.0
0.1.1
0.2.0
0.4.0
1.*
1.0.0

Database specific

last_known_affected_version_range
"<= 1.0.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-c795-2g9c-j48m/GHSA-c795-2g9c-j48m.json"