CVE-2024-6331: stitionai/devika main branch as of commit cdfb782b0e634b773b10963c8034dc9207ba1f9f is vulnerable to Local File
CVE-2024-6331 is a high-severity flaw (CVSS 7.5) affecting devika. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 be executed, such as reading sensitive file contents lik
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 57%) |
| CISA exploited list | No |
| Weakness | CWE-74 |
| Published | 2024-08-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6331?
devika: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-6331 being exploited?
CVE-2024-6331 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6331 affect?
CVE-2024-6331 affects devika. Severity is high (CVSS 7.5). 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.H
How urgent is CVE-2024-6331?
Priority 47/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-7790 MEDIUM 6.5 DOWNGRADE A stored cross site scripting vulnerabilities exists in DevikaAI from commit 6acce21fb08c3d1123ef05df6a33912bf
- CVE-2024-5926 CRITICAL 9.1 MITIGATE A path traversal vulnerability in the get-project-files functionality of stitionai/devika allows attackers to
- CVE-2024-5820 HIGH 8.8 DOWNGRADE An unprotected WebSocket connection in the latest version of stitionai/devika (commit ecee79f) allows a malici
- CVE-2024-5712 HIGH 8.1 DOWNGRADE A Cross-Site Request Forgery (CSRF) vulnerability was identified in the stitionai/devika application, affectin
- CVE-2024-5711 MEDIUM 6.1 MITIGATE A stored Cross-Site Scripting (XSS) vulnerability exists in the stitionai/devika chat feature, allowing attack