SWE-agent Trajectory Inspector Path Traversal File Disclosure
Published Aug 17, 2026
8.7
HIGHCVSS 4.0
EPSS 0.76%
Description
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.
Affected products
-
- Version 0StatusaffectedConstraints<=1.1.0
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (4)
- https://github.com/SWE-agent/SWE-agent product
- https://github.com/SWE-agent/SWE-agent/blob/main/sweagent/inspector/server.py technical-description
- https://github.com/SWE-agent/SWE-agent/issues/1472 exploitissue-tracking
- https://www.vulncheck.com/advisories/swe-agent-trajectory-inspector-path-traversal-file-disclosure third-party-advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/SWE-agent/SWE-agent | product | |
| https://github.com/SWE-agent/SWE-agent/blob/main/sweagent/inspector/server.py | technical-description | |
| https://github.com/SWE-agent/SWE-agent/issues/1472 | exploitissue-tracking | |
| https://www.vulncheck.com/advisories/swe-agent-trajectory-inspector-path-traversal-file-disclosure | third-party-advisory |
Change history (0)
No recorded changes yet.