CVE-2023-39662
llama-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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2023-39662- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2023-39662- Updated
- 2026-11-02
EUVDEUVD-2023-0125 No score
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.
- Record
EUVD-2023-0125- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2xxc-73fv-36f7
9.3
llama-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.
- Record
GHSA-2xxc-73fv-36f7- CVSS 4.0
- 9.3 Critical
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 - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74, CWE-94
- Updated
- 2026-11-02
OSVGHSA-2xxc-73fv-36f7
9.3
llama-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.
- Record
GHSA-2xxc-73fv-36f7- CVSS 4.0
- 9.3 Critical
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 - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74, CWE-94
- Updated
- 2026-11-02
OSVPYSEC-2023-148
9.8
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.
- Record
PYSEC-2023-148- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2023-39662- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
llama-indexPyPI |
before 0.9.14 | 0.9.14 |
llama-indexPyPI |
before 0.9.14, plus listed versions 0.4.100.4.110.4.120.4.130.4.14 Show 45 moreShow less0.4.150.4.160.4.170.4.180.4.190.4.200.4.210.4.220.4.22.post10.4.230.4.240.4.250.4.260.4.270.4.280.4.290.4.300.4.310.4.320.4.330.4.340.4.350.4.35.post10.4.360.4.370.4.380.4.390.4.40.4.4.post10.4.4.post20.4.400.4.50.4.60.4.70.4.80.4.90.5.00.5.10.5.100.5.110.5.120.5.130.5.13.post10.5.150.5.16 |
0.9.14 |
llama-indexPyPI |
before 0.7.14, plus listed versions 0.4.100.4.110.4.120.4.130.4.14 Show 45 moreShow less0.4.150.4.160.4.170.4.180.4.190.4.200.4.210.4.220.4.22.post10.4.230.4.240.4.250.4.260.4.270.4.280.4.290.4.300.4.310.4.320.4.330.4.340.4.350.4.35.post10.4.360.4.370.4.380.4.390.4.40.4.4.post10.4.4.post20.4.400.4.50.4.60.4.70.4.80.4.90.5.00.5.10.5.100.5.110.5.120.5.130.5.13.post10.5.150.5.16 |
0.7.14 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-39662 is a critical vulnerability (CVSS 9.8) in Llamaindex Project Llamaindex, published August 15, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in llama-index 0.9.14.
References
github.com/jerryjliu/llama_index/issues/7054
nvd.nist.gov/vuln/detail/CVE-2023-39662
github.com/run-llama/llama_index/commit/9f3e50a803f519af9ab62e63d413441c43001d81
github.com/run-llama/llama_index/commit/aa6726706476e0f957a8d57a5ca89e519e93bad7
github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2023-148.yaml
github.com/advisories/GHSA-2xxc-73fv-36f7
github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39662.json
github.com/jerryjliu/llama_index
Left out here: 305 versions. The JSON record has them.