Security Resilience

CVE-2024-6331

Stitionai Devika ≥ 2024-05-02

Public PoC
Published
04 August 2024
Modified
30 August 2024
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0050 43th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-6331 is a high-severity Injection (CWE-74) vulnerability in Stitionai Devika. Its CVSS base score is 7.5 (High).

Operationally, ranked at the 43th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as Enterprise AI Assistants; in the LLM/Generative AI Risks risk domain.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f is vulnerable to Local File Read (LFI) by Prompt Injection. The integration of Google Gimini 1.0 Pro with `HarmBlockThreshold.BLOCK_NONE` for `HarmCategory.HARM_CATEGORY_HATE_SPEECH` and `HarmCategory.HARM_CATEGORY_HARASSMENT` in `safety_settings` disables content protection. This allows malicious commands to…

more

be executed, such as reading sensitive file contents like `/etc/passwd`.

CWE(s)

AI Security AnalysisAI

AI Category
Enterprise AI Assistants
Risk Domain
LLM/Generative AI Risks
OWASP Top 10 for LLMs 2025
None mapped
AI-specific weaknesses CR
  • CWE-1427 — Prompt injection (untrusted input to LLM) + unsafe model output to file sink + disabled safety filters.
Mapped by Security Resilience · not in NVD. Poisoning and extraction cases are routed to MITRE ATLAS instead of a synthetic CWE.
Classification Reason
stitionai/devika is an open-source AI agent/assistant (similar to AI coding engineers like Devin) that integrates Google Gemini LLM, making it an Enterprise AI Assistant vulnerable to prompt injection.

Related Threats

CVEs Like This One

CVE-2024-5184Shared CWE-74
CVE-2026-26164Shared CWE-74
CVE-2025-32711Shared CWE-74
CVE-2026-47644Shared CWE-74
CVE-2026-41109Shared CWE-74
CVE-2026-33833Shared CWE-74
CVE-2023-29523Shared CWE-74
CVE-2024-34544Shared CWE-74
CVE-2024-38700Shared CWE-74
CVE-2023-37473Shared CWE-74

Affected Assets

stitionai
devika
≥ 2024-05-02

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SI-10 directly requires validation of information inputs to reject malformed or special-element content before it reaches downstream parsers.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches injection vulnerabilities before release.

finds

Monitoring activities can identify active injection attacks after they occur.

prevents

Secure coding standards require proper neutralization of special elements, directly addressing CWE-74.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-74, a class-level weakness, and none of its children carries one either.

References