Live threats

All CVEs / Langchain

CVE-2023-36258Langchain

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Jul 3, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.

Original NVD text.

What to do

  1. Apply the vendor's security update for Langchain.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI langchain < 0.0.247 0.0.247 pip install "langchain>=0.0.247"
PyPI langchain < 0.0.247 0.0.247 pip install "langchain>=0.0.247"

Per OSV / GitHub Advisories (GHSA-2qmj-7962-cjq8, PYSEC-2023-98). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
langchainlangchain0.0.199

Official sources

References

Links published by the sources. Open them with care.