Path Traversal in Swe-Agent
CVE-2026-75482
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.008 · 56.3th percentile
- Published
- 2026-08-17
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.008, 56.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Swe-Agent — versions 0
Weakness classification (CWE)
References
- GitHub Issue #1472 (issue-tracking)
- github.com/SWE-agent/SWE-agent (product)
- serve_file_content in sweagent/inspector/server.py (technical-description)
- VulnCheck Advisory: SWE-agent Trajectory Inspector Path Traversal File Disclosure (third-party-advisory)