/

CVE-2026-69156

Severity:

HIGH RISK

(8.1)

Path Traversal (CWE-22) in Atomic Server Downloads

CVE-2026-69156

Received

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Arbitrary File Read and Potential Privilege Escalation

Severity:

HIGH RISK

(8.1)

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 download handler can use an attacker-controlled resource identifier to construct a filesystem path without adequate validation. An authenticated Agent who can set that identifier on an owned resource may be able to read files accessible to the server process, potentially including server configuration containing the root Agent's private key.

Affected context

The issue affects Atomic Server's Commit application path and download handler. It becomes risky when an authenticated Agent can assign an unvalidated internalId to an owned resource and the resulting value is used to open a file without checking that the resolved path stays within an intended directory or that the target is an allowed file.

Exploit preconditions

  • Attack surface: The resource Commit path and the /download handler
  • Required access: An authenticated Agent with the ability to modify an owned resource's internalId
  • Trigger point: A download request that uses the modified resource identifier to construct and open a filesystem path
  • Why exploitation is possible: The path is not adequately sanitized or checked for containment, allowing traversal or absolute paths to reach files available to the server process

Why this happens

The application accepts an unvalidated value for a server-managed identifier and later treats it as a filesystem path component. Without path normalization and containment checks, traversal sequences or absolute paths can escape the intended storage location. This is a path traversal weakness mapped to CWE-22: Improper Limitation of a Pathname to a Restricted Directory.

Potential impact

  • An attacker may read files that the server process can access.
  • Sensitive configuration data, including the root Agent's private key, could be exposed.
  • Disclosure of the root key could allow root impersonation and broader access to server data.
  • Depending on the resulting access, an attacker could gain read, write, or delete capabilities over server data.

General mitigation guidance

Defensive patterns focus on keeping user-influenced identifiers separate from filesystem paths and enforcing strict boundaries wherever files are opened.

  • Use server-generated identifiers or map validated identifiers to fixed storage locations.
  • Resolve paths and verify that they remain within an explicitly authorized directory before opening them.
  • Enforce file-class and resource-authorization checks before serving a download.
  • Treat resource metadata as untrusted, even when it is stored server-side or modified by an authenticated user.
  • Limit the server process's filesystem access and protect sensitive configuration and key material with least privilege.

How teams detect issues like this

  • Use static analysis to identify filesystem APIs that receive user-influenced values or resource metadata.
  • Review code paths that assign server-managed identifiers and trace their use into path construction and file-opening operations.
  • Enforce code-review policies requiring path containment checks and authorization before file access.
  • Monitor download activity for requests that resolve outside expected storage directories or target sensitive files.
  • Automated security review tools can help flag untrusted data flows into filesystem operations.

Sources

SourceLink
github.comgithub.com/ontola/atomic-server/commit/59d067c797c946b839c9101fedff4c40171c0c61
github.comgithub.com/ontola/atomic-server/releases/tag/v0.40.3
github.comgithub.com/ontola/atomic-server/security/advisories/GHSA-8vc4-8hjq-988p

Frequently asked

questions

An authenticated Agent may be able to exploit it if they can assign an internalId to an owned resource and invoke the download path that uses that value.

Direct filesystem access is not described as a prerequisite. The relevant access is the ability to modify the resource identifier and trigger the download handler; the server reads files using its own permissions.

Avoid using mutable resource metadata directly as a filesystem path. Resolve files through trusted server-side mappings and enforce path containment and authorization before opening them.

Treat identifiers as untrusted input, constrain file access to dedicated directories, apply least privilege to the server process, and review data flows from resource updates to filesystem operations.

Find out what's already
exploitable in your codebase.