CyberRota Analysis
AI-GeneratedThe SWE-agent's trajectory inspector is vulnerable due to improper path sanitization, allowing unauthenticated network clients to exploit path traversal sequences and access files outside the intended directory. This can lead to the disclosure of sensitive information, including repository contents and API keys, particularly from JSON files formatted as trajectories. Organizations using this software, especially those handling sensitive data, should prioritize patching this vulnerability to mitigate potential data exposure risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.