CVE-2023-39662
CRITICAL 9.8CVSS 3.1llama-index vulnerable to arbitrary code execution
An issue in llama_index v.0.7.13 and before allows a remote attacker to execute arbitrary code via the exec parameter in PandasQueryEngine function.
- Published
- 15 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74CWE-94
- Also known as
- GHSA-2xxc-73fv-36f7PYSEC-2023-148
- Sources
- NVDJSONOSV GHSA-2xxc-73fv-36f7JSONOSV PYSEC-2023-148JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | llamaindex_project | llamaindexcpe:2.3:a:llamaindex_project:llamaindex:*:*:*:*:*:python:*:* |
<= 0.7.13 | |
| OSV | PyPI | llama-index | < 0.9.14 | 0.9.14 |
| OSV | PyPI | llama-index | < 0.7.14 | 0.7.14 |
References
- https://github.com/jerryjliu/llama_index/issues/7054 · Exploit, Issue Tracking, Third Party Advisory, WEB, EVIDENCE, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2023-39662 · ADVISORY
- https://github.com/run-llama/llama_index/commit/9f3e50a803f519af9ab62e63d413441c43001d81 · WEB
- https://github.com/run-llama/llama_index/commit/aa6726706476e0f957a8d57a5ca89e519e93bad7 · WEB
- https://github.com/jerryjliu/llama_index · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2023-148.yaml · WEB
- https://github.com/advisories/GHSA-2xxc-73fv-36f7 · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 15 Aug 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Aug 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Aug 2023)