Skip to main content

SWE-agent CVE-2026-75482

| EUVDEUVD-2026-60394 HIGH
Path Traversal (CWE-22)
2026-08-17 VulnCheck GHSA-hpx7-jm9p-88gh
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify host with sweagent inspector running
  2. Delivery
    Send HTTP GET with '../' traversal sequences to /trajectory/ endpoint
  3. Exploit
    Server bypasses sanitization and resolves path outside trajectory directory
  4. Execution
    Read JSON-formatted file containing captured secrets or API keys
  5. Impact
    Exfiltrate credentials for downstream access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The sweagent inspector component must be actively running, which occurs when a user explicitly launches the trajectory review server - it is not a persistent system service in typical deployments. Once running, the server binds to 0.0.0.0 on all network interfaces by default, so any host with network connectivity to the listening port can exploit this without any prior authentication, credentials, or account. The wildcard CORS configuration (Access-Control-Allow-Origin: *) additionally enables exploitation from any web origin in a browser session running on the same host, requiring only that the user visits a page under attacker control while the inspector is active. Exploitation is bounded to files parseable as trajectory-shaped JSON - arbitrary binary files, non-JSON text files, and files that fail JSON parsing are not directly exfiltrable via this path. No non-default configuration settings, privileged roles, or special feature flags are required to be in an exploitable state beyond the inspector process itself being started.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) accurately reflects the real-world risk: zero authentication prerequisites, no complexity barrier, and default network exposure on all interfaces combine to produce a trivially exploitable information-disclosure path. No CISA KEV listing has been confirmed at time of analysis, and no standalone public exploit code has been identified beyond the GitHub issue disclosure, though the low technical bar means weaponization requires negligible effort. EPSS data was not included in the provided intelligence and cannot be cited. The JSON-only read constraint is a genuine mitigant relative to unrestricted arbitrary file reads, but it does not meaningfully limit the credential-exposure risk because trajectory files are explicitly designed to capture API keys and repository state. The wildcard CORS configuration elevates risk beyond a simple server-side flaw by enabling browser-based cross-origin exploitation - any web page a user visits while the inspector is running can silently exfiltrate accessible JSON files, making this a relevant threat even for operators running the inspector on a firewalled loopback interface with a browser session open. Even a mid-sized municipal IT team in mielec adopting SWE-agent for automated code review workflows would face meaningful credential-exposure risk if the inspector is left running on a network-connected host without explicit firewall restrictions, given that no authentication gate exists to limit blast radius.

Exploit ScenarioDerived

An attacker on the same network segment sends an HTTP GET request to the sweagent inspector's listening port with a crafted path such as /trajectory/../../.config/swe-agent/secrets.json or similar JSON-formatted credential files known to exist in the agent's working directory. The server resolves the traversal sequences, reads the target file, and returns its contents in the response body without any authentication challenge. Alternatively, a malicious web page exploits the wildcard CORS policy to issue the same request from any browser the operator has open, silently exfiltrating trajectory files and any embedded secrets cross-origin.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Path traversal in SWE-agent's trajectory inspector component (sweagent inspector, confirmed v1.1.0) allows unauthenticated remote clients to read arbitrary JSON-formatted files from the host by injecting parent-directory sequences into the /trajectory/ HTTP endpoint. The inspector server binds to all network interfaces (0.0.0.0) with wildcard CORS and no authentication, meaning any network-reachable client or a malicious web page visited in a browser on the same host can exploit this directly without any credentials or special tooling. Disclosure is architecturally constrained to files parseable as trajectory JSON, but those files routinely capture repository contents, shell command output, and secrets or API keys recorded during prior agent sessions, making the practical impact significant despite the format restriction.

RemediationAI

No vendor-released patched version has been independently confirmed at time of analysis - fix availability should be tracked via GitHub issue #1472 (https://github.com/SWE-agent/SWE-agent/issues/1472) and the VulnCheck advisory (https://www.vulncheck.com/advisories/swe-agent-trajectory-inspector-path-traversal-file-disclosure). Until a patch is released, the most effective compensating control is to restrict the inspector's bind address to 127.0.0.1 (loopback only) via host firewall rules or configuration changes, preventing all remote network access; the trade-off is that any workflow requiring remote access to the inspector UI will break. Operators should additionally terminate the inspector process immediately after local use rather than leaving it running persistently, minimizing the window of exposure. Because the wildcard CORS policy enables browser-based exploitation even from loopback, operators should avoid visiting untrusted web pages while the inspector is running and consider disabling the inspector feature entirely if trajectory review is not actively needed. Restricting inbound traffic to the inspector port at the network perimeter provides defense in depth but does not address browser-based CORS attacks from the local machine.

Affected VersionsENISA

SWE-agent 0 ≤1.1.0

Affected Packages

euvd swe_agent no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SWE-agent is an AI-driven software engineering agent framework used to automate code review and patch generation tasks. Its inspector subcomponent (sweagent/inspector/server.py) provides an HTTP server for interactively reviewing agent trajectory files - structured recordings of the agent's actions, environment state, and captured outputs. The vulnerability is a CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal) root cause: the /trajectory/ route handler joins user-supplied path segments to a base trajectory directory using a naive path concatenation that fails to strip or reject '..' (parent-directory) sequences, bypassing the server's built-in sanitization logic. The server is configured to bind on 0.0.0.0 (all interfaces), applies Access-Control-Allow-Origin: * headers permitting cross-origin requests from any web domain, and enforces no authentication mechanism of any kind. The affected CPE is cpe:2.3:a:swe-agent:swe-agent:*:*:*:*:*:*:*:*, with v1.1.0 explicitly confirmed by the VulnCheck reporter. Because the read sink parses its target as trajectory JSON, the exploitable surface is bounded to files syntactically compatible with that schema - a real but modest mitigant given that trajectory files are designed to capture rich agent session data.

Know when Swe Agent gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-reachable default binding with no authentication (PR:N, AV:N); read-only path traversal produces no integrity or availability impact; scope unchanged as traversal stays within the host file system.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

SWE-agent trajectory inspector (v1.1.0) contains an unauthenticated path traversal vulnerability (CVE-2026-75482, CVSS 8.7) enabling remote access to sensitive files including API keys and repository contents, with no public exploit identified at time of analysis. No vendor patch is currently available, leaving all deployed instances immediately vulnerable; any network-reachable client-including malicious websites visited by internal users-can exploit this without credentials to harvest secrets that provide direct access to downstream systems.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) restrict network access to /trajectory/ endpoint via firewall to trusted hosts only; (2) disable CORS headers on the inspector endpoint; (3) bind the inspector service to localhost or internal IPs instead of 0.0.0.0; (4) implement reverse-proxy authentication or API gateway authentication in front of the component; (5) disable the trajectory inspector entirely if not actively required; (6) monitor network access logs and implement IDS/IPS signatures for /trajectory/ path traversal attempts.

Threat Intelligence Overview

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Low
AI developer and research tooling, not broadly deployed in enterprise production
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy