# CVE-2026-51874: In Devika v1.0, the Patcher Agent savecodetoproject function contains a path traversal vulnerability that allows attackers to write files o…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-01T00:00:00.000Z
- Modified: 2026-10-05T19:17:21.210Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/stitionai/devika/issues/709> (exploit)
- <https://gist.github.com/Ro1ME/eb9e0cd66ee3c682a624650464d07302>

## Sources

- CVE List: [CVE-2026-51874](https://www.cve.org/CVERecord?id=CVE-2026-51874), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-51874](https://nvd.nist.gov/vuln/detail/CVE-2026-51874), Public domain, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-51874 · Whole record: https://cve.day/CVE-2026-51874.json · Rebuilt by cve.day 2026-11-25T22:59:41.887Z
