CVE-2026-51874 Path traversal in n/a

High 7.5 Published Updated

Attackers can write files outside the intended project workspace in Devika v1.0 via the Patcher Agent save_code_to_project function.

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-51874?

CVE-2026-51874 is a high-severity path traversal vulnerability in n/a, published on 1 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Devika v1.0, the Patcher Agent save_code_to_project function contains a path traversal vulnerability that allows attackers to write files outside the intended project workspace.

Weakness: CWE-22

Which versions are affected by CVE-2026-51874?

How do I fix CVE-2026-51874?

No fix has been published for CVE-2026-51874 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-51874 being exploited?

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

Sources

Also known as GHSA-cpp9-ff82-c7vg.

Is CVE-2026-51874 in your software?

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

Check your SBOMs for free