crates.io
CVE-2026-69156
Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)
- Severity
- High 8.1
- Published
- 18 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Exploit chance
- 0.6% in the next 30 daysHigher than 48% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Path traversal (CWE-22)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- Also known as
- GHSA-8vc4-8hjq-988p
- Sources
- OSV.dev and GitHub
Description
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 (PathBuf::push of an absolute path replaces the buffer), an attacker reads any file on the host. The highest-value target is the server config file storing the root agent private key, which yields full server compromise. Only the upload path sanitizes filenames (sanitize_filename); the download path trusts the stored value. The handler also never checks that the resource is a File.
Affected software
| Software | Affected versions |
|---|---|
atomic-servercrates.io · osv:crates.io:atomic-server |
|
About atomic-server
- Downloads in the last 90 days (crates.io)
- 201crates.io, 24 Nov 2026
- Total downloads (crates.io)
- 80,917crates.io, 24 Nov 2026
Vulnerabilities in atomic-server
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-69158Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpointHigh 8.6 18 Nov 2026
- CVE-2026-69157Atomic Server: Unauthenticated `/setup` invite grants write access to the entire DriveCritical 9.8 18 Nov 2026
- CVE-2026-69155Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeoverHigh 8.7 18 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-69156
- GitHub Advisory Database https://github.com/advisories/GHSA-8vc4-8hjq-988p