Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. llama-index
  4. ›
  5. CVE-2023-39662

CVE-2023-39662: llama-index vulnerable to arbitrary code execution

August 15, 2023 (updated September 30, 2024)

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.

References

  • github.com/advisories/GHSA-2xxc-73fv-36f7
  • github.com/jerryjliu/llama_index
  • github.com/jerryjliu/llama_index/issues/7054
  • github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2023-148.yaml
  • github.com/run-llama/llama_index/commit/9f3e50a803f519af9ab62e63d413441c43001d81
  • github.com/run-llama/llama_index/commit/aa6726706476e0f957a8d57a5ca89e519e93bad7
  • nvd.nist.gov/vuln/detail/CVE-2023-39662

Code Behaviors & Features

Detect and mitigate CVE-2023-39662 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.14

Fixed versions

  • 0.9.14

Solution

Upgrade to version 0.9.14 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/llama-index/CVE-2023-39662.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.