Repository navigation
incidents: add INC-148, Devika Runner.execute runs LLM-generated commands (CVE-2026-51871) - #223
Open
emmanuelgjr wants to merge 1 commit into
Open
emmanuelgjr wants to merge 1 commit into
emmanuelgjr wants to merge 1 commit into
Conversation
…ands (CVE-2026-51871) CVE-2026-51871: Devika v1.0's Runner.execute takes the commands from the model's response and run_code runs each with subprocess.run; the only check is that the response has a commands field (confirmed in src/agents/runner/runner.py at the repository head). incident_class tooling-cve, category research-demonstrated, mapping_status draft. Provenance is thin and the record says so, as INC-132 does: CNA MITRE, NVD Deferred, the 9.8 Critical is a CISA-ADP secondary metric (SSVC exploitation: poc), no vendor advisory, no fix, upstream issue #714 still open, no releases or tags. Drafted OWASP entries ASI05, LLM10, LLM01 and one control failure, ASVS 5.0.0 V1.3.2, quoting the researcher's write-up with an empty confirmed_by. Regenerated with generate.js, npm run stats and render-stats.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds incident INC-148 for CVE-2026-51871 in Devika, an open-source AI software-engineering agent. Triaged in #212 under the CVEs section of
docs/TRIAGE_RULES.md, and modelled on INC-132 (Agno).Closes #212
The record
incident_class/categorytooling-cve/research-demonstratedAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, a secondary metric from the CISA ADPmapping_statusdraftMechanism. I checked this in
src/agents/runner/runner.pyat the head of the repo (80bb343):Runner.executesends the prompt to the model and takesresponse["commands"].run_coderuns each command withsubprocess.runin the project directory.commandsfield exists.Provenance is thin, and the description says so, as INC-132's does:
poc;C4: DRAFT, SME review required
owasp_entries: ASI05, LLM10, LLM01. The schema requires at least one entry, so these are drafted rather than left empty.mapping_status: draftrecords that no SME has signed them off.control_failures: OWASP ASVS 5.0.0 V1.3.2 (avoid dynamic code execution; sanitise any input before executing it), outcomeabsent.basisquotes the write-up verbatim: "Accepts LLM-generated commands without sanitization".confirmed_byis[].maestro_layers: L3 is the origin (the runner) and L4 the impact (the host). Both are drafted on the INC-132 pattern.Regenerated
generate.js,npm run statsandrender-stats.mjswere run.evidence.draftedaddeddocs/*.jschanges are data-fed bundles only. No structural webapp change (C2).Checks (local)
validate.js: 0 errors / 92 warnings / 329 passed, the same counts as main.test:scripts: 137/137.stats:check: current.generate.js+statsrun is byte-identical.next-incident-id --check-prs: INC-148 isn't claimed by any open PR.This PR and #222 touch disjoint files.
🤖 Generated with Claude Code