---
id: CVE-2026-51871
title: >-
  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.
summary: >-
  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.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
published: '2026-09-30'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T17:17:26.300'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51871'
references:
  - url: 'https://gist.github.com/Ro1ME/3067a5bd69dcd35ffc98dc41ca611242'
    label: cve@mitre.org
  - url: 'https://github.com/stitionai/devika/issues/714'
    label: cve@mitre.org
  - url: 'https://gist.github.com/Ro1ME/3067a5bd69dcd35ffc98dc41ca611242'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-01T16:04:13.015730Z'
epss: 0.0051
epssPercentile: 0.43302
ingestedAt: '2026-09-30T21:25:07.846Z'
---

## Overview

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.

## Remediation

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