CVE-2024-38459 json
langchain_experimental Code Execution via Python REPL access
published 2024-06-16 2 y ago modified 2026-06-17 4 mo ago also GHSA-wmvm-9vqv-5qpp , PYSEC-2024-53 , EUVD-2024-0086
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi langchain-experimental 0.0.61
- langchain langchain_experimental 0.0.61
- github.com/langchain-ai/langchain@ce0b0f2 commit
- github.com/langchain-ai/langchain#22860 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | langchain-experimental | <0.0.61 |
0.0.61 |
Affected products
- langchain langchain_experimental
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
References
-
github.com
/langchain-ai/langchain/pull/22860
web, issue-tracking
-
github.com
/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009
web, patch
-
github.com
/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2024-38459
advisory
-
github.com
/langchain-ai/langchain
package
-
github.com
/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2024-53.yaml
web
-
github.com
/advisories/GHSA-wmvm-9vqv-5qpp
advisory
Sources
- CVE List CVE-2024-38459
- GitHub Advisory GHSA-wmvm-9vqv-5qpp
- NVD CVE-2024-38459
- OSV PYSEC-2024-53
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.