# CVE-2024-38459: langchain_experimental Code Execution via Python REPL access

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-06-16T00:00:00.000Z
- Modified: 2026-06-17T07:40:19.130Z
- Also known as: GHSA-wmvm-9vqv-5qpp, PYSEC-2024-53
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

langchain_experimental (aka LangChain Experimental) before 0.0.61 for LangChain provides Python REPL access without an opt-in step. NOTE; this issue exists because of an incomplete fix for CVE-2024-27444.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- langchain langchain_experimental: before 0.0.61
- langchain-experimental (PyPI): before 0.0.61; before ce0b0f22a175139df8f41cdcfb4d2af411112009
- langchain langchain-experimental: before 0.0.61

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/langchain-ai/langchain/pull/22860> (issue-tracking, web)
- <https://github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009> (fix, patch, web)
- <https://github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38459> (advisory)
- <https://github.com/langchain-ai/langchain> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2024-53.yaml> (web)
- <https://github.com/advisories/GHSA-wmvm-9vqv-5qpp> (advisory)

## Sources

- CVE List: [CVE-2024-38459](https://www.cve.org/CVERecord?id=CVE-2024-38459), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-wmvm-9vqv-5qpp](https://github.com/advisories/GHSA-wmvm-9vqv-5qpp), CC-BY-4.0, modified 2024-07-05
- NVD: [CVE-2024-38459](https://nvd.nist.gov/vuln/detail/CVE-2024-38459), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-53](https://osv.dev/vulnerability/PYSEC-2024-53), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-38459 · Whole record: https://cve.day/CVE-2024-38459.json · Rebuilt by cve.day 2026-11-25T22:58:41.935Z
