GHSA-rm43-82j9-r4mj: atomic-agents-stack Path Traversal Vulnerability

HIGH
CWE-22
Published
Advisory Summary

GHSA-rm43-82j9-r4mj is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting atomic-agents-stack libraries in the PyPI ecosystem. The issue involves dashboard http server path traversal allows arbitrary file read. Remediation is available by upgrading affected packages to version 1.1.0.

GHSA-rm43-82j9-r4mj at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-rm43-82j9-r4mj
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product atomic-agents-stack
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-rm43-82j9-r4mj

To remediate this vulnerability, upgrade all affected atomic-agents-stack 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-agents-stack fixed: 1.1.0
pip install atomic-agents-stack>=1.1.0
Verify Direct and Transitive Dependencies

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

pip show atomic-agents-stack

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-rm43-82j9-r4mj, inspect your installed packages using pip:

pip show atomic-agents-stack

Analyze the terminal output to locate any version of atomic-agents-stack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.0), your application is affected.

Note: The pip show atomic-agents-stack command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In atomic-agents-stack, 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

The optional dashboard HTTP server (`atomic_agents/dashboard/serve.py`) builds filesystem paths directly from the request path and serves them without a containment check. It is the only per-request untrusted-path site in the codebase that does not route through `_io.safe_resolve_under`. Literal `../` segments survive `urlparse` and `Path` joining, so a request can read files outside the intended `agents_root` (including via the static branch). **Impact:** arbitrary file read. The default bind is loopback, but `--host` is an operator-settable documented flag; binding `0.0.0.0` exposes this to the LAN. Even on loopback it is reachable via DNS-rebinding from a browser or SSRF from a co-located service. **Affected:** `dashboard/serve.py` (`DashboardHandler.do_GET` / `_serve_file`), all versions through 1.0.0. **Fix:** route every served path through `_io.safe_resolve_under` against the intended root and return 404 on `PathTraversalError`; reject `..`/separators early; optionally refuse a non-loopback `--host` unless an explicit auth/allow flag is set (matching `serve/_app.py`).

GHSA-rm43-82j9-r4mj Affected atomic-agents-stack Versions

1 component(s)
Fixed Versions:
1.1.0
Product / Package Ecosystem Affected Versions Fixed Version
atomic-agents-stack
PyPI
< 1.1.0
1.1.0

References

Frequently Asked Questions

What is GHSA-rm43-82j9-r4mj?
GHSA-rm43-82j9-r4mj is a security vulnerability in atomic-agents-stack involving Dashboard HTTP server path traversal allows arbitrary file read under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which atomic-agents-stack versions are affected?
Affected versions include releases prior to 1.1.0 across affected packages: atomic-agents-stack.
What version fixes GHSA-rm43-82j9-r4mj?
Upgrading to 1.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is atomic-agents-stack affected?
Yes, atomic-agents-stack is affected in releases prior to 1.1.0. Upgrade your dependency to 1.1.0 or later.
What CWE is associated with GHSA-rm43-82j9-r4mj?
GHSA-rm43-82j9-r4mj is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for GHSA-rm43-82j9-r4mj?
Run the dependency tree command: 'pip show atomic-agents-stack'. 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-rm43-82j9-r4mj",
  "modified" : "2026-08-13T14:17:13Z",
  "published" : "2026-08-13T14:17:13Z",
  "aliases" : [ ],
  "summary" : "atomic-agents-stack: Dashboard HTTP server path traversal allows arbitrary file read",
  "details" : "The optional dashboard HTTP server (`atomic_agents/dashboard/serve.py`) builds filesystem paths directly from the request path and serves them without a containment check. It is the only per-request untrusted-path site in the codebase that does not route through `_io.safe_resolve_under`. Literal `../` segments survive `urlparse` and `Path` joining, so a request can read files outside the intended `agents_root` (including via the static branch).\n\n**Impact:** arbitrary file read. The default bind is loopback, but `--host` is an operator-settable documented flag; binding `0.0.0.0` exposes this to the LAN. Even on loopback it is reachable via DNS-rebinding from a browser or SSRF from a co-located service.\n\n**Affected:** `dashboard/serve.py` (`DashboardHandler.do_GET` / `_serve_file`), all versions through 1.0.0.\n\n**Fix:** route every served path through `_io.safe_resolve_under` against the intended root and return 404 on `PathTraversalError`; reject `..`/separators early; optionally refuse a non-loopback `--host` unless an explicit auth/allow flag is set (matching `serve/_app.py`).",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "atomic-agents-stack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dep0we/atomic-agents-stack/security/advisories/GHSA-rm43-82j9-r4mj"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dep0we/atomic-agents-stack/commit/ec474f458122c5c0ca718d0df3078c8080338b2c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dep0we/atomic-agents-stack"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-13T14:17:13Z",
    "nvd_published_at" : null
  }
}