---
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: none
published: '2026-10-01'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T22:17:02.147'
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
tags:
  - nvd
  - cve.org
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.
