{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-39662","id":"CVE-2023-39662","title":"llama-index vulnerable to arbitrary code execution","description":"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.","descriptionLong":"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":"2023-08-15T00:00:00.000Z","updated":"2026-10-28T02:31:04.811962394Z","reserved":"2023-08-07T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<0.9.14","<0.7.14"],"fixed":["0.9.14","0.7.14"],"advisory":"GHSA-2xxc-73fv-36f7"}],"cwes":["CWE-74","CWE-94"],"aliases":["GHSA-2xxc-73fv-36f7","PYSEC-2023-148"],"references":[{"url":"https://github.com/jerryjliu/llama_index/issues/7054","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web","evidence"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39662.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39662","tags":["advisory"]},{"url":"https://github.com/run-llama/llama_index/commit/9f3e50a803f519af9ab62e63d413441c43001d81","tags":["web"]},{"url":"https://github.com/run-llama/llama_index/commit/aa6726706476e0f957a8d57a5ca89e519e93bad7","tags":["web"]},{"url":"https://github.com/jerryjliu/llama_index","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2023-148.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2xxc-73fv-36f7","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.01492,"epssPercentile":0.74692,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-39662","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39662","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-39662","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2xxc-73fv-36f7","ok":true,"note":"GHSA-2xxc-73fv-36f7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-39662","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}