CriticalVulnerabilityLLM-specific
GHSA-r6gp-rff2-p3hf: llama-index-core Command Injection vulnerability
- Identifiers
- CVE-2024-3271GHSA-r6gp-rff2-p3hf
- Published
- Record updated
- Affected
- llama-index-core < 0.10.24
- Fixed in
- 0.10.24
- released March 26, 2024, 21 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 2.9%
Summary
A command injection flaw in the safe_eval function of the run-llama/llama_index repository lets attackers bypass its check for underscores in LLM-generated code. Crafted input without an underscore can still run OS commands, enabling remote code execution on the server hosting the application.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- llama-index-corePyPILLM dependency since 2024-02-02 · 34 tracked dependents
Related items
- HighCVE-2026-136185: Prismor local HTTP API cross-origin requests overwrite security policiesSimilar attack · NVD/CVE Database
- MediumRecent Trends and Tactics of Agentic AI AttacksSimilar attack · Palo Alto Unit 42
- MediumCVE-2026-135564: Machine Learning: Frontend component mitigation bypass in FirefoxSimilar attack · NVD/CVE Database
- InfoAnthropic Expands Enterprise Safeguards for Detecting AI MisuseSimilar attack · SecurityWeek
- MediumFamiliar weaknesses, exploited faster: defending against agentic cyber attacksSimilar attack · UK NCSC