CVE-2026-51871 Details
Description
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.
A code injection vulnerability has been identified in Devika version 1.0, specifically within the Runner.execute function in the file src/agents/runner/runner.py. This vulnerability allows attackers to execute arbitrary code by exploiting the direct execution of content generated by large language models (LLMs). The issue arises because the function accepts LLM-generated commands without proper validation or sanitization, forwarding them to an execution endpoint where they are executed with the same privileges as the Devika process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 30, 2026CISA-ADP
Assessed Oct 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/Ro1ME/3067a5bd69dcd35ffc98dc41ca611242 | CISA-ADP | Technical Description |
| https://gist.github.com/Ro1ME/3067a5bd69dcd35ffc98dc41ca611242 | [email protected] | Technical Description |
| https://github.com/stitionai/devika/issues/714 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Devika | v1.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 1, 2026 | CVE Modified | CISA-ADP |
| Sep 30, 2026 | New CVE Received | [email protected] |
Volerion