CVE-2023-38896: LangChain vulnerable to arbitrary code execution
CVE-2023-38896 · Severity: low · CVSS 3.1 · Published 2023-08-15
An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.
Yes. langchain (PyPI): upgrade to 0.0.195, 0.0.236 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-38896?
Check whether you run langchain (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
langchain (PyPI): upgrade to 0.0.195, 0.0.236 or later