CVE-2026-69158: Atomic Server Unauthenticated Full-response SSRF Vulnerability

HIGH
Advisory Identifier: GHSA-ff87-73jp-f3v4
CVSS 8.6
CWE-918
Published
Advisory Summary

CVE-2026-69158 is a HIGH (CVSS 8.6) unauthenticated full-response ssrf vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Atomic Server libraries in the crates.io ecosystem. The issue involves unauthenticated full-response ssrf in atomic-server /bookmark endpoint. Remediation is available in the latest vendor maintenance releases.

CVE-2026-69158 at a Glance

CVE Identifier CVE-2026-69158
GHSA Identifier GHSA-ff87-73jp-f3v4
Severity HIGH
CVSS v3.1 Base Score 8.6
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Atomic Server
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 8.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-69158

To remediate this vulnerability, upgrade all affected Atomic Server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

atomic-server fixed: Latest secure release
Upgrade atomic-server to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for atomic-server

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-69158, inspect your project dependencies for Atomic Server:

inspect dependencies for atomic-server

Analyze the terminal output to locate any version of Atomic Server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Atomic Server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-69158 Affected Atomic Server Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
atomic-server
crates.io
≤ 0.40.1

References

Frequently Asked Questions

What is CVE-2026-69158?
CVE-2026-69158 is a security vulnerability in Atomic Server involving Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint under CWE-918: Server-Side Request Forgery (SSRF).
Which Atomic Server versions are affected?
Affected versions include releases prior to current release patches across affected packages: atomic-server.
What version fixes CVE-2026-69158?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is atomic-server affected?
Yes, atomic-server is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-69158?
CVE-2026-69158 has a CVSS v3.1 base score of 8.6 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2026-69158?
CVE-2026-69158 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check crates.io dependencies for CVE-2026-69158?
Run the dependency tree command: 'inspect dependencies for atomic-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-ff87-73jp-f3v4",
  "modified" : "2026-11-18T20:42:50Z",
  "published" : "2026-11-18T20:42:50Z",
  "aliases" : [ "CVE-2026-69158" ],
  "summary" : "Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint",
  "details" : "## Summary\n\nAtomic-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.\n\n## Root cause (source trace)\n\n1. The bookmark endpoint is registered unconditionally for every server: `server/src/appstate.rs:69` (`store.add_endpoint(plugins::bookmark::bookmark_endpoint())`).\n2. An unauthenticated caller on the standard GET route becomes `ForAgent::Public`: `server/src/helpers.rs:168-183` (`get_client_agent`).\n3. 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).\n4. `call_endpoint` performs no authorization itself; it only matches the path and invokes the handler: `lib/src/db.rs:662-706`.\n5. 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)?;`).\n6. `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.\n7. 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.\n\n## Proof of concept (unauthenticated)\n\n```\nGET /bookmark?url=http://127.0.0.1:<internal-port>/&name=x        # internal loopback service\nGET /bookmark?url=http://169.254.169.254/latest/meta-data/&name=x # IMDSv1 cloud metadata\n```\n\nNo 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.\n\n## Proof of omission\n\nThe 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.\n\n## Impact\n\nAn unauthenticated attacker with network reach to the server can:\n- read internal-only HTTP services not exposed to the internet (admin panels, dashboards, unauthenticated microservices on loopback or the private network);\n- read cloud metadata reachable via plain GET (IMDSv1 and similar), enabling potential credential disclosure in affected deployments;\n- enumerate internal services / ports from the server's vantage point via differing timeout/error behaviour.\n\nBecause the response body is reflected, this is a high-value full-response SSRF. The only precondition is network reach to the server.\n\nSeverity: High, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N = 8.6.\n\nHonest 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.\n\n## Remediation\n\nAdd 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.\n\n## Dedup\n\n- 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.\n- 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).\n\n## Credit / disclosure\n\nReported 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.\n\nNote: 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`).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "atomic-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.40.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ontola/atomic-server/security/advisories/GHSA-ff87-73jp-f3v4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-69158"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ontola/atomic-server/commit/006ff290f7ec976c8cbafdceb7b6899389abd5be"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ontola/atomic-server/commit/2d4535fcd84761288027616505cc61abdf05bc50"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ontola/atomic-server/commit/e7f551d385045708240ca56889d1334a39349735"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ontola/atomic-server"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ontola/atomic-server/releases/tag/v0.40.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-18T20:42:50Z",
    "nvd_published_at" : "2026-11-17T21:18:12Z"
  }
}