Vulnerability · Published Aug 5, 2023 · Assigned by mitre

CVE-2023-36095

Critical 9.8

In plain English

A critical-severity security flaw in the langchain package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.2%top 32.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlangchain0.0.236GHSA-gwqq-6vq7-5j86
PyPIlangchain0.0.236PYSEC-2023-138

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References