{"id":"CVE-2026-51874","published":"2026-10-01T22:17:02.147","lastModified":"2026-10-05T19:17:21.210","description":"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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","cwes":["CWE-22"],"vendors":[],"products":[],"references":[{"url":"https://gist.github.com/Ro1ME/eb9e0cd66ee3c682a624650464d07302","tags":[]},{"url":"https://github.com/stitionai/devika/issues/709","tags":[]},{"url":"https://github.com/stitionai/devika/issues/709","tags":[]}],"exploitRefs":[{"url":"https://gist.github.com/Ro1ME/eb9e0cd66ee3c682a624650464d07302","tags":[]},{"url":"https://github.com/stitionai/devika/issues/709","tags":[]},{"url":"https://github.com/stitionai/devika/issues/709","tags":[]}],"hasPoc":true,"ai":{"summary":"The Devika v1.0 Patcher Agent has a path traversal vulnerability in its save_code_to_project function that allows attackers to write files outside the intended project workspace, potentially leading to arbitrary file creation and code execution.","exploitability":"This vulnerability is relatively easy to exploit as it requires no authentication and can be triggered through a network request with crafted input parameters, making it highly accessible to remote attackers.","blast_radius":"If exploited, this vulnerability could allow attackers to write malicious files to critical system locations, potentially leading to persistent backdoors or arbitrary code execution on the server hosting Devika.","remediation":"Upgrade to Devika v1.1 or later to address this path traversal vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["path-traversal","file-write","remote"],"model":"garnet-coder","analyzedAt":"2026-10-12T09:05:31.730Z"}}