CVE-2026-69157 — Vulnerability in atomic-server — CVE Details
Atomic Server: Unauthenticated `/setup` invite grants write access to the entire Drive
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.51%). Schedule for your next planned update.
Does your project use an affected atomic-server version?
Paste your Cargo.lock to check it for CVE-2026-69157 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
atomic-server provisions a well-known invite at {server}/setup with write = true, target = the Drive root, and usagesLeft = 1. Invite redemption ignores the redeemer's identity (for_agent: _ in server/src/plugins/invite.rs:22), so possession of the URL is the only requirement. An unauthenticated attacker who sends GET /setup?public-key=<attacker_key> has the server create a new Agent and grant it write access to the entire Drive. On a freshly deployed (not-yet-claimed) instance this is a full server takeover with no credentials.
Severity
Critical — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8). No authentication required; grants attacker-controlled write over all resources in the Drive.
Affected component
server/src/appstate.rs— creates the/setupinvite targeting the Drive root withwrite=true,usagesLeft=1.server/src/plugins/invite.rs:14-173—construct_invite_redirectdestructuresfor_agent: _(redeemer identity discarded);?public-key=→Agent::new_from_public_key→add_rights(agent, target, write=true).
Steps to Reproduce
Environment: joepmeneer/atomic-server:develop in Docker, http://localhost:9883, fresh store. No auth headers are used.
-
Confirm the invite is live —
GET /setup(Accept:application/ad+json) showsinvite/write = true,invite/target = http://localhost:9883(Drive root),usagesLeft = 1. -
Redeem it anonymously with an attacker-generated ed25519 public key:
GET /setup?public-key=q2UkizMX0Go4mHwW2BXepqkzpP5FHlagEft8M32t0EM%3D HTTP/1.1
Host: localhost:9883
Accept: application/ad+json
Response 200 OK returns a Redirect confirming the new agent:
{
"https://atomicdata.dev/properties/invite/redirectAgent":
"http://localhost:9883/agents/q2UkizMX0Go4mHwW2BXepqkzpP5FHlagEft8M32t0EM=",
"https://atomicdata.dev/properties/isA": ["https://atomicdata.dev/classes/Redirect"]
}
GET /shows the attacker is now in the Drive'swritearray:
"https://atomicdata.dev/properties/write": [
"http://localhost:9883/agents/+/KwsAmyzc7S/...", // legit root
"http://localhost:9883/agents/q2UkizMX0Go4mHwW2BXepqkzpP5FHlagEft8M32t0EM=" // ATTACKER
]
- The attacker signs a normal Commit (ed25519 over the JCS-canonical commit) and
POST /commit(200) — the Drive root was successfully edited. Write access proven.
Expected: /setup must require operator authentication / a one-time secret.
Actual: Any unauthenticated client on the network redeems it and gains Drive-wide write.
Impact
Unauthenticated write to the entire Drive: read/modify/delete any resource, create/alter Agents, reconfigure permissions. This is a complete takeover on a fresh deployment. (It also serves as the entry point of a larger chain: with write access, an attacker can read the server root private key and impersonate root — reported separately.)
Remediation
- Require a one-time secret (printed to stdout at startup) or operator authentication to redeem
/setup. - Invalidate
/setupafter first use with an atomicusagesLeftdecrement (sled transaction) — the current read-check-decrement is a TOCTOU that allows a single-use invite to be redeemed multiple times concurrently. - Fix the inverted invite-expiry check in
invite.rs(if expires > now { reject }is backwards, so expired invites remain redeemable and valid ones are rejected).
Advisory Timeline
- First published November 18, 2026 (8 days ago).
- Last revised November 18, 2026 — 0 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| atomic-server crates.io · Affected: All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-306
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-69157?
- Atomic Server: Unauthenticated `/setup` invite grants write access to the entire Drive. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-69157?
- CVE-2026-69157 affects atomic-server. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-69157 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 36.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- RUSTSEC-2026-0501CRITICAL
Shamir backup recovery accepts a share at x = 0, so a supplied share can substitute the recovered private key
- CVE-2026-115893CRITICAL
Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
- CVE-2026-69156HIGH
Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)
- CVE-2026-69158HIGH
Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint
- CVE-2026-69155HIGH
Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover