CVE-2023-39662 json
llama-index vulnerable to arbitrary code execution
published 2023-08-15 3 y ago modified 2026-06-17 4 mo ago also GHSA-2xxc-73fv-36f7 , PYSEC-2023-148 , EUVD-2023-0125
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi llama-index 0.7.14, 0.9.14
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.49% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jerryjliu/llama_index/issues/7054 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | llama-index | <0.9.14 <0.7.14 |
0.9.14 0.7.14 |
Classification
References
-
github.com
/run-llama/llama_index/commit/9f3e50a803f519af9ab62e63d413441c43001d81
web
-
github.com
/run-llama/llama_index/commit/aa6726706476e0f957a8d57a5ca89e519e93bad7
web
-
github.com
/jerryjliu/llama_index/issues/7054
web, exploit, issue-tracking, third-party-advisory, evidence, report
-
nvd.nist.gov
/vuln/detail/CVE-2023-39662
advisory
-
github.com
/jerryjliu/llama_index
package
-
github.com
/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2023-148.yaml
web
-
github.com
/advisories/GHSA-2xxc-73fv-36f7
advisory
Sources
- CVE List CVE-2023-39662
- GitHub Advisory GHSA-2xxc-73fv-36f7
- NVD CVE-2023-39662
- OSV PYSEC-2023-148
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.