Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. atomic-server
  4. ›
  5. CVE-2026-69155

CVE-2026-69155: Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover

November 18, 2026

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 <script>; 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.

References

  • github.com/advisories/GHSA-x277-3wcg-g9r2
  • github.com/ontola/atomic-server/commit/457c1dc9af4cd00d2aec89720718e504a49f392d
  • github.com/ontola/atomic-server/commit/8a8badfd3099765e62ccf6f92dc78a408a11106f
  • github.com/ontola/atomic-server/releases/tag/v0.40.3
  • github.com/ontola/atomic-server/security/advisories/GHSA-x277-3wcg-g9r2
  • nvd.nist.gov/vuln/detail/CVE-2026-69155

Code Behaviors & Features

Detect and mitigate CVE-2026-69155 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.30.0 up to 0.40.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

cargo/atomic-server/CVE-2026-69155.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 19 Nov 2026 00:17:43 +0000.