Path Traversal in Swe-Agent
CVE-2026-75482
SWE-agent's trajectory inspector (sweagent inspector), confirmed in v1.1.0, is an HTTP server that joins request paths to the trajectory directory in its /trajectory/ handler without rejecting parent-directory ('..') references, bypassing the built-in path sanitization. The server binds all interfaces (0.0.0.0), applies wildcard CORS, and requires no authentication. An unauthenticated network client (or a malicious web page via CORS) can use path traversal sequences to read files outside the intended directory. Because the read sink parses targets as trajectory JSON, disclosure is constrained to JSON files shaped like a trajectory, which can contain repository contents, command output, and secrets/API keys.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.008 (53.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 53.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.008 · change: +0.001
Affected products
- Swe-Agent — versions 0
Weakness classification (CWE)
References
- github.com/SWE-agent/SWE-agent/issues/1472 (issue-tracking)
- github.com/SWE-agent/SWE-agent (product)
- github.com/SWE-agent/SWE-agent/blob/main/sweagent/inspector/server.py (technical-description)
- www.vulncheck.com/advisories/swe-agent-trajectory-inspector-path-traversal-file… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-75482?
- CVE-2026-75482 is a high-severity vulnerability in Swe-Agent, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-08-17.
- How severe is CVE-2026-75482?
- High severity. CVSS v3 base score is 7.5 out of 10.