{"vuln_id":"GHSA-ff87-73jp-f3v4","aliases":["CVE-2026-69158"],"description":"Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint","published_at":"2026-11-18T20:42:50Z","modified_at":"2026-11-18T21:00:39.416021Z","first_seen_at":"2026-11-21T19:15:20.145641Z","severity":"high","severity_source":"ghsa","cvss_score":8.6,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","cwe":["CWE-918"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-ff87-73jp-f3v4"},"matched_alias":null,"items":[{"id":11039,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-ff87-73jp-f3v4: Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint","summary":"Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint\n\n## 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:\n/&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(\n\nAffected: crates.io:atomic-server\n\nNo fixed version published yet\n\nReferences:\nhttps://github.com/ontola/atomic-server/security/advisories/GHSA-ff87-73jp-f3v4\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-69158\nhttps://github.com/ontola/atomic-server/commit/006ff290f7ec976c8cbafdceb7b6899389abd5be\nhttps://github.com/ontola/atomic-server/commit/2d4535fcd84761288027616505cc61abdf05bc50\nhttps://github.com/ontola/atomic-server/commit/e7f551d385045708240ca56889d1334a39349735\nhttps://github.com/ontola/atomic-server\nhttps://github.com/ontola/atomic-server/releases/tag/v0.40.3","url":"https://osv.dev/vulnerability/GHSA-ff87-73jp-f3v4","published_at":"2026-11-18T20:42:50Z","updated_at":"2026-11-18T21:00:39.416021Z","fetched_at":"2026-11-21T19:15:55.946387Z","severity":"high","cvss_score":8.6,"epss":0.00473,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"atomic-server","vuln_id":"CVE-2026-69158","vuln_ids":["CVE-2026-69158","GHSA-FF87-73JP-F3V4"],"tags":["osv","crates.io","no-fix-yet"],"cluster_id":2301,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11039","html":"https://vulnwatch.ve1ve2.com/item/11039"}},{"id":2435,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-ff87-73jp-f3v4 / CVE-2026-69158: Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint","summary":"Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint\n\n## 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:\n/&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(\n\nAffected packages: rust:atomic-server","url":"https://github.com/advisories/GHSA-ff87-73jp-f3v4","published_at":"2026-11-18T20:42:50Z","updated_at":"2026-11-18T20:42:50Z","fetched_at":"2026-11-21T19:15:18.416834Z","severity":"high","cvss_score":8.6,"epss":0.00473,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"atomic-server","vuln_id":"CVE-2026-69158","vuln_ids":["CVE-2026-69158","GHSA-FF87-73JP-F3V4"],"tags":["ghsa","rust","CWE-918"],"cluster_id":2301,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2435","html":"https://vulnwatch.ve1ve2.com/item/2435"}},{"id":6917,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-69158: Atomic Server is an open source headless CMS and real-time database. Prior to 0.40.3, unauthenticated requests to /bookmark can supply a url that server/src/pl…","summary":"Atomic Server is an open source headless CMS and real-time database. Prior to 0.40.3, unauthenticated requests to /bookmark can supply a url that server/src/plugins/bookmark.rs passes through fetch_data to fetch_body. Endpoint dispatch in lib/src/db.rs invokes the handler before check_read, and lib/src/client/helpers.rs previously checked only that the URL began with HTTP, without restricting loopback, private, link-local, DNS-rebinding, or redirect targets. The handler reflects fetched content in returned resource fields, making this a full-response server-side request forgery that can expose internal services and plain-GET cloud metadata. The short request timeout limits slow targets, and metadata services requiring a separate token request are outside the demonstrated GET-only path. This issue is fixed in version 0.40.3.\n\nReferences:\nhttps://github.com/ontola/atomic-server/commit/006ff290f7ec976c8cbafdceb7b6899389abd5be\nhttps://github.com/ontola/atomic-server/commit/2d4535fcd84761288027616505cc61abdf05bc50\nhttps://github.com/ontola/atomic-server/commit/e7f551d385045708240ca56889d1334a39349735\nhttps://github.com/ontola/atomic-server/releases/tag/v0.40.3\nhttps://github.com/ontola/atomic-server/security/advisories/GHSA-ff87-73jp-f3v4\nhttps://github.com/ontola/atomic-server/security/advisories/GHSA-ff87-73jp-f3v4","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69158","published_at":"2026-11-17T21:18:12.763000Z","updated_at":"2026-11-18T16:18:16.803000Z","fetched_at":"2026-11-21T19:15:31.482722Z","severity":"high","cvss_score":8.6,"epss":0.00473,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-69158","vuln_ids":["CVE-2026-69158","GHSA-FF87-73JP-F3V4"],"tags":["CWE-918"],"cluster_id":2302,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/6917","html":"https://vulnwatch.ve1ve2.com/item/6917"}}]}