---
id: CVE-2026-51873
title: >-
  Devika v1.0 is vulnerable to Directory Traversal in the
  Coder.save_code_to_project function, which allows attackers to write files
  outside the intended project workspace.
summary: >-
  Devika v1.0 is vulnerable to Directory Traversal in the
  Coder.save_code_to_project function, which allows attackers to write files
  outside the intended project workspace.
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-22
published: '2026-10-01'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T16:17:07.723'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51873'
references:
  - url: 'https://gist.github.com/Ro1ME/946b670dfefd594a123ed4527de34088'
    label: cve@mitre.org
  - url: 'https://github.com/stitionai/devika/issues/707'
    label: cve@mitre.org
  - url: 'https://github.com/stitionai/devika/issues/707'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00822
epssPercentile: 0.57121
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-06T15:24:03.116393Z'
ingestedAt: '2026-10-01T23:03:32.772Z'
---

## Overview

Devika v1.0 is vulnerable to Directory Traversal in the Coder.save_code_to_project function, which allows attackers to write files outside the intended project workspace.

## Remediation

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