CVE-2026-51874
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk24th percentile - higher than 24% of all known CVEs
Summary
In Devika v1.0, the Patcher Agent's save_code_to_project function contains a path traversal vulnerability that allows attackers to write files outside the intended project workspace.
Risk Assessment
An attacker can write files outside the allowed project directory, potentially leading to unauthorized changes on the server's filesystem.
Recommendation
Update Devika to the latest version and apply proper path controls in the save_code_to_project function to prevent writes outside the allowed area.
Other vulnerabilities in Devika
See all- CVE-2026-51875Critical
In Devika v1.0, the Feature Agent's save_code_to_project function contains a path traversal vulnerability that allows attackers to write files outside the intended project workspace, potentially compromising the entire server.
- CVE-2026-51872Critical
Devika v1.0 is vulnerable to Code Injection via the Runner.run_code function in src/agents/runner/runner.py.
- CVE-2026-51871Critical
Devika v1.0 is vulnerable to Code Injection in the Runner.execute function in src/agents/runner/runner.py which allows an attacker to achieve arbitrary code execution by exploiting the direct execution of LLM-generated content.
- CVE-2026-51873High
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.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

