What’s Vulnerable › Vulnerabilities
CVE-2026-75482: SWE-agent Trajectory Inspector Path Traversal File Disclosure
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-17 · updated 2026-09-24
- Weakness: CWE-22
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
- SWE-agent: through 1.1.0
References
- https://github.com/SWE-agent/SWE-agent
- https://github.com/SWE-agent/SWE-agent/blob/main/sweagent/inspector/server.py
- https://github.com/SWE-agent/SWE-agent/issues/1472
- https://www.vulncheck.com/advisories/swe-agent-trajectory-inspector-path-traversal-file-disclosure
- https://github.com/SWE-agent/SWE-agent/issues/1472
Get alerted when CVE-2026-75482 or the next vulnerability affects your stack