crates.io
CVE-2026-69155
Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover
- Severity
- High 8.7
- Published
- 18 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Exploit chance
- 0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · Needs a user account · Needs someone to click or open something
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N- Also known as
- GHSA-x277-3wcg-g9r2
- Sources
- OSV.dev and GitHub
Description
Files uploaded via POST /upload are served back by GET /download/{path} using actix_files::NamedFile. For text/html and image/svg+xml, actix-files (0.6.6) sets Content-Disposition: inline, so the browser renders the file instead of downloading it. The /download route sets no Content-Security-Policy, no X-Content-Type-Options: nosniff, and no forced attachment (CSP exists only on the SPA route), and files are served from the same origin as the app UI. An authenticated Agent uploads evil.html containing ; when a victim opens the link, the script executes in the app origin. Because the atomic_session cookie is set via document.cookie (not HttpOnly) and the Agent's Ed25519 private key is stored in same-origin IndexedDB (browser/data-browser/src/helpers/agentStorage.ts`), the script exfiltrates the private key → permanent account takeover.
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-69156Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)High 8.1 18 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-69155
- GitHub Advisory Database https://github.com/advisories/GHSA-x277-3wcg-g9r2