Skip to main content

CVE-2026-69158 — Vulnerability in atomic-server — CVE Details

HIGH

Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint

Published November 18, 2026Updated November 18, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.48%). 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-69158 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.

Check my Cargo.lock

Summary

Summary

Atomic-Server exposes a GET /bookmark endpoint that fetches an attacker-supplied URL server-side, parses the response, and reflects the fetched content back to the caller. The endpoint requires no authentication and performs no authorization of its own, and the underlying fetch helper applies no allow-list or private-IP deny-list. An unauthenticated attacker with network reach to the server can force it to issue arbitrary outbound HTTP GET requests to internal-only hosts (loopback services, internal admin panels, link-local cloud-metadata) and read the response body back. This is a full-response SSRF, not a blind one.

Root cause (source trace)

  1. The bookmark endpoint is registered unconditionally for every server: server/src/appstate.rs:69 (store.add_endpoint(plugins::bookmark::bookmark_endpoint())).
  2. An unauthenticated caller on the standard GET route becomes ForAgent::Public: server/src/helpers.rs:168-183 (get_client_agent).
  3. In get_resource_extended, when the subject matches an endpoint path the function returns via call_endpoint BEFORE the hierarchy::check_read authorization call: lib/src/db.rs:1010-1017 (if is_endpoint { return self.call_endpoint(...) }, and check_read sits just after at :1017, never reached).
  4. call_endpoint performs no authorization itself; it only matches the path and invokes the handler: lib/src/db.rs:662-706.
  5. The bookmark handler discards the caller (for_agent: _) and fetches the url query parameter directly: server/src/plugins/bookmark.rs:45-76 (let content = fetch_data(&path)?;).
  6. fetch_body validates only url.starts_with("http"): lib/src/client/helpers.rs:78-91. A repo-wide grep finds no is_loopback / is_private / 127.0.0.1 / 169.254 / localhost deny-list anywhere in lib/src or server/src, and no host allow-list.
  7. The fetched body is HTML-parsed and written into the resource name, description, image and preview (markdown) fields, which are returned to the caller: server/src/plugins/bookmark.rs:79-110. This is what makes it a full-response (not blind) SSRF; even plaintext internal responses are wrapped into the preview markdown.

Proof of concept (unauthenticated)

GET /bookmark?url=http://127.0.0.1:<internal-port>/&name=x        # internal loopback service
GET /bookmark?url=http://169.254.169.254/latest/meta-data/&name=x # IMDSv1 cloud metadata

No authentication headers. The returned resource reflects the fetched content in its name / description / preview fields, so the attacker reads the internal target's response body.

Proof of omission

The endpoint-dispatch path returns at lib/src/db.rs:1011 (return self.call_endpoint(...)) before the check_read call at :1017, and there is no authorization inside call_endpoint (:662-706). The handler discards the caller (for_agent: _, bookmark.rs:49), so the endpoint can never enforce per-agent access. fetch_body validates only url.starts_with("http") (helpers.rs:83); no loopback/private/link-local deny-list exists anywhere in the source. No corresponding SSRF/security entry exists in CHANGELOG.md.

Impact

An unauthenticated attacker with network reach to the server can:

  • read internal-only HTTP services not exposed to the internet (admin panels, dashboards, unauthenticated microservices on loopback or the private network);
  • read cloud metadata reachable via plain GET (IMDSv1 and similar), enabling potential credential disclosure in affected deployments;
  • enumerate internal services / ports from the server's vantage point via differing timeout/error behaviour.

Because the response body is reflected, this is a high-value full-response SSRF. The only precondition is network reach to the server.

Severity: High, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N = 8.6.

Honest caveats (do not refute the finding): the ureq client uses a 2-second timeout, which limits slow targets; AWS IMDSv2 requires a PUT token, so plain GET metadata retrieval may fail there. IMDSv1 and any internal HTTP service or admin panel that answers a plain GET remain fully reachable and reflected.

Remediation

Add a central SSRF guard inside fetch_body (lib/src/client/helpers.rs): resolve the target host and reject loopback, link-local, RFC1918 private, CGNAT and unique-local ranges, and reject non-http(s) schemes. Re-validate after DNS resolution (to prevent DNS-rebinding) and after each redirect hop. Enforce authorization on endpoint dispatch: run check_read (or a per-endpoint policy) for outbound-fetching endpoints instead of short-circuiting before it at lib/src/db.rs:1010-1012, and at minimum require an authenticated, authorized agent for /bookmark. Optionally add an operator-configurable allow-list of fetchable hosts.

Dedup

  • atomicdata-dev/atomic-server GitHub Security Advisories: no published advisories (re-verified 2026-07-03). No CVE/GHSA for atomic-server SSRF / the /bookmark endpoint.
  • Source re-verified on current develop 2026-07-03: the handler still discards the caller (for_agent: _) and calls fetch_data(url), and fetch_body still validates only url.starts_with("http") with no private-IP deny-list (still vulnerable).

Credit / disclosure

Reported by Ray Sabee, Whitehat Security (https://whitehatsecurity.nl/), GitHub @raysabee. Please credit "Ray Sabee / Whitehat Security / whitehatsecurity.nl" on the advisory and in any release notes. Coordinated disclosure: nothing will be published before a fix is available.

Note: two related findings exist in the same repo and can be handled in this advisory or alongside it: F-ATOMIC-SSRF-002 (a blind pre-auth SSRF in POST /import via the SAME fetch_body root cause, so one central fix covers both) and F-ATOMIC-LFI-001 (authenticated path-traversal file read in GET /download, a separate sink in download.rs).

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).

PackageFixed In
atomic-server crates.io · Affected: All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-918
    Server-Side Request Forgery (SSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

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

Frequently Asked Questions

What is CVE-2026-69158?
Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
How do I check if my project is affected by CVE-2026-69158?
CVE-2026-69158 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-69158 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.48%
EPSS percentile: 34

This is a below-median EPSS score — only 34% 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

GHSA-ff87-73jp-f3v4

Related CVEs

  • CVE-2026-69157
    CRITICAL

    Atomic Server: Unauthenticated `/setup` invite grants write access to the entire Drive

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

  • CVE-2026-69156
    HIGH

    Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)

  • CVE-2026-69155
    HIGH

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

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock