CVE-2026-7235 Details
Description
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.
A path traversal vulnerability allowing arbitrary file read has been identified in the ErlichLiu Claude-Agent-SDK, specifically in the 04-agent-teams component, up to commit b185aa7ff0d864581257008077b4010fca1747bf. The vulnerability arises in the app/api/agent-output/route.ts file, where the outputFile parameter is manipulated, leading to unauthorized access to local files. This issue can be exploited remotely, potentially allowing attackers to read sensitive files such as configuration data, credentials, or source code.
It is recommended to restrict the outputFile parameter to a server-controlled directory, implement authentication and authorization checks on the API endpoint, and avoid returning raw file contents unless explicitly authorized by the server.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 28, 2026CISA-ADP
Assessed Apr 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ErlichLiu/claude-agent-sdk-master/ | [email protected] | Vendor |
| https://github.com/ErlichLiu/claude-agent-sdk-master/issues/5 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/submit/802828 | [email protected] | Technical Description |
| https://vuldb.com/vuln/359844 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/359844/cti | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ErlichLiu claude-agent-sdk-master | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 28, 2026 | New CVE Received | [email protected] |
Volerion