Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
llama-index-core versions before 0.10.24 are vulnerable to command injection in the safe_eval function, which is meant to block code generated by an LLM that contains underscores. An attacker who can supply input that the LLM turns into code can craft it to avoid the underscore check and run arbitrary OS commands on the server, giving remote code execution. Upgrade llama-index-core to version 0.10.24 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA (@huntr_ai) |
- CISA KEV Not listed.
- EPSS 0.029, the 87th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
Sources
- GitHub Advisory Database: GHSA-r6gp-rff2-p3hf
- OSV: GHSA-r6gp-rff2-p3hf
- nvd.nist.gov/vuln/detail/CVE-2024-3271
- github.com/run-llama/llama_index/commit/2c92e88838a5f481d50840240b1dd3180066c6f5
- github.com/run-llama/llama_index/commit/5fbcb5a8b9f20f81b791c7fc8849e352613ab475
- github.com/run-llama/llama_index
- huntr.com/bounties/9b32490e-7cf9-470e-8d49-ba083ae7a279
- pypi.org/project/llama-index-core
- github.com/advisories/GHSA-r6gp-rff2-p3hf