/

CVE-2026-69158

Severity:

HIGH RISK

(8.6)

Server-Side Request Forgery (CWE-918) in Atomic Server

CVE-2026-69158

Received

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Internal service access and sensitive data disclosure

Severity:

HIGH RISK

(8.6)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Atomic Server's bookmark endpoint can make server-side requests to URLs supplied by unauthenticated callers and return fetched content in resource fields. This may let an attacker access internal services or retrieve data from cloud metadata endpoints that accept a plain GET request.

Affected context

The issue affects the bookmark handler's URL-fetching path. Endpoint dispatch invokes the handler before the read-access check, and the URL validation described did not restrict requests to loopback, private, or link-local addresses, or adequately constrain DNS resolution and redirects. Because fetched content is reflected in the response, unauthenticated requests may expose responses from reachable internal targets.

Exploit preconditions

  • Attack surface: The /bookmark endpoint and its server-side URL-fetching behavior
  • Required access: No authentication is required for the described request path
  • Trigger point: The bookmark handler fetches a caller-supplied URL and includes fetched content in returned resource fields
  • Why exploitation is possible: URL checks did not reliably prevent access to internal destinations or constrain redirect and DNS-rebinding behavior; the handler runs before the read-access check

Why this happens

The application treats a caller-supplied URL as safe based on an insufficient scheme check, then uses it to make a server-side request and reflects the response. This is CWE-918: Server-Side Request Forgery, an improper control of the destination used by a server to access another resource. The underlying insecure pattern is allowing untrusted input to determine network destinations without robust destination validation and egress restrictions.

Potential impact

  • An attacker may read responses from internal services reachable by the server.
  • Plain-GET cloud metadata endpoints could disclose sensitive information.
  • Internal service exposure could support further unauthorized access.
  • Reflected response content could reveal information not intended for external callers.

General mitigation guidance

Common defensive patterns include:

  • Prefer a strict allowlist of approved hosts and URL schemes, or avoid fetching caller-selected URLs when possible.
  • Resolve hostnames and validate all resulting addresses against loopback, private, link-local, and other restricted ranges; repeat validation when connections are established.
  • Apply equivalent destination checks to every redirect, or disable redirects for this feature.
  • Enforce network-level egress controls so the application can reach only required destinations.
  • Authenticate and authorize requests before performing network-fetching side effects, and run the service with least privilege.
  • Treat fetched content as untrusted and limit the data returned to callers.

How teams detect issues like this

Review code for user-controlled URLs passed to HTTP clients, especially where checks validate only the scheme or hostname. Static analysis can flag server-side request APIs fed by request parameters, while code review can verify DNS, redirect, and IP-range handling. Network monitoring and egress policies can identify or block unexpected connections to internal and metadata address ranges; automated security checks can help enforce these rules.

Sources

SourceLink
github.comgithub.com/ontola/atomic-server/commit/006ff290f7ec976c8cbafdceb7b6899389abd5be
github.comgithub.com/ontola/atomic-server/commit/2d4535fcd84761288027616505cc61abdf05bc50
github.comgithub.com/ontola/atomic-server/commit/e7f551d385045708240ca56889d1334a39349735
github.comgithub.com/ontola/atomic-server/releases/tag/v0.40.3
github.comgithub.com/ontola/atomic-server/security/advisories/GHSA-ff87-73jp-f3v4

Frequently asked

questions

The described endpoint is unauthenticated, so a caller able to reach it may trigger server-side fetches to destinations the server can access.

No authentication is required for the described request path. The handler is invoked before the read-access check.

Avoid arbitrary caller-selected destinations where possible. Otherwise, use strict destination allowlists, validate resolved addresses and redirects, and enforce network egress restrictions.

Treat user-provided URLs as untrusted, apply destination checks at connection time, limit service network privileges, and review all server-side fetch paths for authorization and response disclosure.

Find out what's already
exploitable in your codebase.