Skip to content
HighVulnerability

CVE-2024-38459: langchain_experimental Python REPL access without opt-in step

Identifier
CVE-2024-38459
Published
Record updated
View JSON
Affected
  • langchain-experimental < 0.0.61
Fixed in
0.0.61
  • released June 14, 2024, 2 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CVE-2024-38459 affects langchain_experimental (LangChain Experimental) before 0.0.61. The package provides Python REPL access without an opt-in step, and the issue exists because of an incomplete fix for CVE-2024-27444. The weakness is classified as CWE-276, Incorrect Default Permissions.

Mitigation

Patch: https://github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61 (fixed in langchain_experimental 0.0.61, per the linked patch comparison).