Skip to main content

claude-agent-sdk-master EUVDEUVD-2026-26007

| CVE-2026-7235 MEDIUM
Path Traversal (CWE-22)
2026-04-28 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Attacker discovers endpoint
  2. Delivery
    Sends HTTP request with traversal payload
  3. Exploit
    Server processes unsanitized outputFile
  4. Execution
    Reads arbitrary file from disk
  5. Persist
    Returns file contents in response
  6. Impact
    Attacker exfiltrates sensitive data

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

Exploitation requires the vulnerable endpoint app/api/agent-output/route.ts to be accessible over the network (not restricted by firewall or authentication middleware). The outputFile parameter must be passed directly to file system operations without sanitization or path canonicalization checks. Exploitation succeeds against any path readable by the process user, which is typically unrestricted unless the application enforces a strict least-privilege security model. No special configuration or non-default settings are required - the vulnerability exists in the default code path.

Impact

The CVSS score of 5.3 reflects confidentiality impact (C:L) with no integrity or availability impact, indicating information disclosure rather than data modification or service disruption. The EPSS metric is not provided, limiting probabilistic exploitation assessment. However, the publicly available exploit code (POC:YES) and network-accessible vector (AV:N/AC:L/PR:N/UI:N) significantly increase practical risk despite the moderate CVSS score. The RL:X (release limit unavailable) and RC:R (reasonable confidence) ratings indicate the vulnerability is credibly documented but exploit maturity is uncertain. The rolling release model complicates patch tracking and increases the window of vulnerability for users who cannot identify specific affected versions. Real-world risk is elevated for deployments exposing this endpoint to untrusted networks, as remote attackers require no authentication or user interaction to attempt exploitation. The information disclosure impact is concerning if sensitive configuration files, credentials, or source code exist in accessible directories.

Exploit ScenarioDerived

An unauthenticated attacker discovers the /api/agent-output endpoint and sends an HTTP GET or POST request with a crafted outputFile parameter containing path traversal sequences (e.g., outputFile=../../../../etc/passwd or outputFile=/etc/shadow) to retrieve sensitive files from the host system. The server processes the unsanitized parameter directly in file operations, returning the contents of the targeted file in the HTTP response, allowing the attacker to exfiltrate configuration secrets, private keys, or application source code without authentication or user interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 28, 2026

Path traversal vulnerability in ErlichLiu claude-agent-sdk-master allows remote unauthenticated attackers to read arbitrary files by manipulating the outputFile parameter in app/api/agent-output/route.ts. The vulnerability has a CVSS score of 5.3 (low integrity impact) and publicly available exploit code exists, though the project uses rolling releases and the maintainer has not yet responded to disclosure.

RemediationAI

No vendor-released patch has been confirmed at the time of analysis, as the maintainer has not yet responded to the disclosure. Immediate remediation requires implementing input validation and sanitization in app/api/agent-output/route.ts to reject or normalize the outputFile parameter, stripping path traversal sequences (../, ..\ , absolute paths, etc.) and restricting file access to a whitelist of safe output directories. Apply a robust path canonicalization function (e.g., Node.js path.resolve() combined with checks ensuring the resolved path remains within the intended directory) before any file system operation. Additionally, run the application with minimal file system permissions and consider disabling or restricting HTTP access to the agent-output endpoint if it is not required for production use. Monitor the GitHub repository (https://github.com/ErlichLiu/claude-agent-sdk-master) for updates or alternative branches with fixes; if no response is forthcoming, consider forking and applying the fix locally or switching to a maintained alternative.

Affected VersionsENISA

claude-agent-sdk-master b185aa7ff0d864581257008077b4010fca1747bf

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The vulnerability exists in a TypeScript/Node.js API route (app/api/agent-output/route.ts) that processes file output operations, likely within a Next.js application framework. The root cause is CWE-22 (improper limitation of a pathname to a restricted directory), where user-supplied input to the outputFile parameter is not properly validated or sanitized before being used in file system operations. An attacker can inject path traversal sequences (such as ../ or absolute paths) to escape the intended directory and access files outside the application's intended scope. The network attack vector (AV:N) and low attack complexity (AC:L) indicate the vulnerability can be exploited over HTTP/HTTPS without special conditions.

Know when Claude Agent Sdk Master 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 (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

3
PoC Detected
Apr 28, 2026 - 20:31 vuln.today
Public exploit code
CVSS changed
Apr 28, 2026 - 08:22 NVD
5.3 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Apr 28, 2026 - 06:30 nvd
MEDIUM 5.5

DescriptionCVE.org

A security vulnerability has been detected in ErlichLiu claude-agent-sdk-master up to b185aa7ff0d864581257008077b4010fca1747bf. Affected by this vulnerability is an unknown functionality of the file app/api/agent-output/route.ts. The manipulation of the argument outputFile leads to path traversal. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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