CVE-2023-36095
criticalpriority · track · 39EPSS 0.012 · 67 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-gwqq-6vq7-5j86langchain Code Injection vulnerability2023-08-05ghsa · osvUS
An issue in Harrison Chase langchain allows an attacker to execute arbitrary code via the PALChain,from_math_prompt(llm).run in the python exec method.
- PYSEC-2023-1382023-08-05vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://langchain.comcnnvd
- https://cxsecurity.com/cveshow/CVE-2023-36095/cnnvd
- https://github.com/hwchase17/langchaincnnvd
- https://github.com/langchain-ai/langchain/commit/8ba9835b925473655914f63822775679e03ea137Patchcnnvd
- https://github.com/langchain-ai/langchain/issues/5872cnnvd
- https://github.com/hwchase17/langchainenisa_euvd
- https://github.com/langchain-ai/langchain/issues/5872enisa_euvd
- https://github.com/hwchase17/langchainProductnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan