Skip to content
Threat Feed
high advisory

Path Traversal in SWE-agent Trajectory Inspector

The SWE-agent trajectory inspector version 1.1.0 is vulnerable to unauthenticated path traversal via the /trajectory/ handler, allowing attackers to read JSON-formatted sensitive files.

CVE search metadata

CVE search record: CVE-2026-75482. Severity: high. CVSS: 7.5. KEV: no. Product: sweagent inspector (1.1.0). Brief: Path Traversal in SWE-agent Trajectory Inspector. Brief link: https://feed.craftedsignal.io/briefs/2026-08-cve-2026-75482/

SWE-agent version 1.1.0 includes a trajectory inspector component that functions as an HTTP server. This server fails to properly sanitize user-supplied paths in the /trajectory/ handler, allowing the use of path traversal ('..') sequences to bypass restrictions. The application binds to all network interfaces (0.0.0.0) by default and enforces no authentication, exposing it to remote unauthenticated attackers. Additionally, the service implements permissive wildcard CORS headers, which can facilitate cross-site attacks where a malicious web page makes unauthorized requests on behalf of a user. The vulnerability allows an attacker to retrieve arbitrary files from the filesystem, provided the target files are formatted as JSON, as the application logic attempts to parse retrieved data as trajectory files. This represents a significant risk for the disclosure of sensitive information, including repository metadata, command output, and API keys stored in JSON format.

Impact

Successful exploitation allows for the unauthorized retrieval of JSON-formatted sensitive data from systems running the sweagent inspector. This includes secrets, API keys, and repository source code, potentially leading to downstream compromise of developer environments or CI/CD pipelines.

Recommendation

  1. Upgrade the SWE-agent installation to a version where path traversal in the /trajectory/ handler is remediated.
  2. Restrict network access to the sweagent inspector to authorized local interfaces or behind a reverse proxy that enforces authentication.
  3. Deploy the provided web server detection logic to identify and block path traversal attempts directed at the /trajectory/ URI.

Immediate actions

Patch or restrict network exposure of SWE-agent inspector components.

IT Operations 48h

Mitigations

Block public access to sweagent inspector instances via network firewalls.

immediate IT Operations

CVE-2026-75482

Detection coverage 1

Detects CVE-2026-75482 Exploitation - Path Traversal in SWE-agent

high

Detects attempts to perform path traversal against the /trajectory/ endpoint of the SWE-agent inspector.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →