CVE-2026-69155: Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover
Published 2026-11-18 · Updated 2026-11-18 · Also known as GHSA-x277-3wcg-g9r2
Summary
Atomic Server contains a stored Cross-Site Scripting (XSS) vulnerability via uploaded files served inline with improper headers on the `/download` route. Engineering teams using affected versions should update or apply mitigations to prevent account takeover.
Who is affected
Affected deployments allow authenticated agents to upload malicious HTML or SVG files that are served back with inline dispositions and missing security headers like Content-Security-Policy or X-Content-Type-Options. When a victim opens the file link, malicious scripts execute in the application's origin, exfiltrating session cookies and Ed25519 private keys from IndexedDB to achieve permanent account takeover.
Exploitability
The vulnerability carries a CVSS base score of 8.7 indicating high severity, requiring network access, low privileges, and user interaction within a scope-changing context. Its EPSS score is 0.004, and CISA KEV status is no, meaning active exploitation is not documented.
Remediation
- Force Content-Disposition: attachment for user files on the /download route, add X-Content-Type-Options: nosniff, and include a sandbox CSP.
- Serve user-uploaded files from a separate origin or subdomain.
- Set HttpOnly and Secure flags on session cookies and avoid persisting private keys in JavaScript-readable storage.
How to check your project
- Check Cargo.toml or lock files for crates.io atomic-server versions introduced at 0.30.0 and up to 0.40.1.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | atomic-server |
>= 0.30.0, <= 0.40.1 | not published | - |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | Required |
| Scope | Changed |
| Confidentiality | High |
| Integrity | High |
| Availability | None |
FAQ
What causes the Stored XSS vulnerability in Atomic Server?
Files uploaded via POST /upload are served back via GET /download/{path} using actix_files::NamedFile with Content-Disposition set to inline for types like text/html and image/svg+xml, without appropriate CSP or nosniff headers on the same origin.
What is the impact of a successful exploit?
Execution of malicious scripts in the app origin leads to the theft of session cookies and Ed25519 private keys from IndexedDB, resulting in permanent account takeover.
Are there fixed versions published for this vulnerability?
No fixed version is published in the provided record.
Original advisory description
References
- WEB https://github.com/ontola/atomic-server/security/advisories/GHSA-x277-3wcg-g9r2
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-69155
- WEB https://github.com/ontola/atomic-server/commit/457c1dc9af4cd00d2aec89720718e504a49f392d
- WEB https://github.com/ontola/atomic-server/commit/8a8badfd3099765e62ccf6f92dc78a408a11106f
- PACKAGE https://github.com/ontola/atomic-server
- WEB https://github.com/ontola/atomic-server/releases/tag/v0.40.3
Source records: GHSA-x277-3wcg-g9r2 (OSV.dev) · EPSS by FIRST, 2026-11-22.