← Vulnerabilities

HighAdvisoryRust

Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)

Affected

PackageAffected versionsFixed in
rust:atomic-server>= 0.30.0, <= 0.40.1No fix yet

The Commit apply path enforces no allowlist of writable properties, so any authenticated Agent can set the internalId string (datatype string, no character validation) on a resource it owns. The /download handler then uses that value verbatim as a filesystem path — file_path.push(internal_id); NamedFile::open(file_path) — with no sanitization and no containment check (server/src/handlers/download.rs:56-65). By setting internalId to a traversal path (../../../../etc/passwd) or an absolute path (…

Read on GitHub Advisory Database

On 11/19/2026, 05:42 AM, GitHub Advisory Database published "Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)" (type: Advisory). Severity is "High" (high). Related technologies: Rust. CVE: CVE-2026-69156.