---
id: CVE-2026-51874
title: >-
  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.
summary: >-
  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.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-22
published: '2026-10-01'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T19:17:21.210'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51874'
references:
  - url: 'https://gist.github.com/Ro1ME/eb9e0cd66ee3c682a624650464d07302'
    label: cve@mitre.org
  - url: 'https://github.com/stitionai/devika/issues/709'
    label: cve@mitre.org
  - url: 'https://github.com/stitionai/devika/issues/709'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-05T18:24:27.342887Z'
epss: 0.00389
epssPercentile: 0.33189
ingestedAt: '2026-10-01T23:03:32.772Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
