CVE-2026-75482 SWE-agent Trajectory Inspector Path Traversal File Disclosure
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi sweagent | <= 1.1.0 | after 1.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi sweagent | <= 1.1.0 | No fix listed |
References
- GitHub Issue #1472 exploit issue-tracking
- github.com product
- serve_file_content in sweagent/inspector/server.py technical-description
- VulnCheck Advisory: SWE-agent Trajectory Inspector Path Traversal File Disclosure third-party-advisory