CVE-2026-69156
## Summary 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 component - `server/src/handlers/download.rs:56-65` — `file_path.push(internal_id)` + `NamedFile::open`, no sanitization, no `File`-class check. - `lib/src/commit.rs` (`apply_changes`) — sets any property; no server-managed-property denylist. ## Steps to Reproduce Environment: `joepmeneer/atomic-server:develop`, `http://localhost:9883`. Attacker is any Agent with write on a parent (self-signup, or via the `/setup` issue reported separately). 1. Create a resource and set `internalId` to a traversal path — sign the Commit and `POST /commit` (200): ``` subject = http://localhost:9883/pwnfile set = { "https://atomicdata.dev/properties/parent": "http://localhost:9883", "https://atomicdata.dev/properties/internalId": "../../../../../../../../etc/passwd" } ``` 2. Download it. The auth signature is over the **resolved subject** (the server strips the `/download` prefix → `http://localhost:9883/pwnfile`): ```http GET /download/pwnfile HTTP/1.1 Host: localhost:9883 x-atomic-public-key: <pubkey> x-atomic-agent: http://localhost:9883
Properties
- Summary
- Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)
- Severity
- high
- Nvd fetched at
- 2026-11-19T03:31:17.617109+00:00
- Epss score
- 0.00491
- Cvss score
- 8.1
- Cvss severity
- HIGH
- Retrieved at
- 2026-11-19T03:33:42+00:00
- Ghsa published
- 2026-11-18T20:42:15Z
- Source url
- https://github.com/advisories/GHSA-8vc4-8hjq-988p
- Ghsa updated
- 2026-11-18T20:42:16Z
- Ghsa id
- GHSA-8vc4-8hjq-988p
- Last source
- FIRST EPSS
- Score
- 8.1
- Cvss version
- 3.1
- Cve id
- CVE-2026-69156
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- First seen by Signal
- 2026-11-17T22:56:04+00:00
- Name
- CVE-2026-69156
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph