CVE-2026-51874
UnknownSummary
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-51875Unknown
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-51873Unknown
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.
- 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-51872Low risk· EPSS 10%
Devika v1.0 is vulnerable to Code Injection via the Runner.run_code function in src/agents/runner/runner.py.
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

