CVE-2026-7235 ErlichLiu claude-agent-sdk-master route.ts path traversal

Medium 6.9 Published Updated

Remote attackers can exploit path traversal in the agent output route to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7235?

CVE-2026-7235 is a medium-severity path traversal vulnerability in ErlichLiu claude-agent-sdk-master, published on 28 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-7235?

How do I fix CVE-2026-7235?

No fix has been published for CVE-2026-7235 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-7235 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7235 exists.

Sources

Also known as GHSA-47r4-p7wr-42hw.

Is CVE-2026-7235 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free