CVE-2023-36281
criticalpriority · attend · 50EPSS 0.034 · 89 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt. This is related to __subclasses__ or a template.
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.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- tagomaru/CVE-2023-36281PoC of CVE-2023-36281PoC · poc_in_github
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-7gfq-f96f-g85jlangchain vulnerable to arbitrary code execution2023-08-22ghsa · osvUS
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via the via the a json file to the `load_prompt` parameter. This is related to `__subclasses__` or a template.
- PYSEC-2023-1512023-08-22vendor · osvUS
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via the via the a json file to the load_prompt parameter.
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.
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-36281/cnnvd
- https://github.com/hwchase17/langchain/issues/4394cnnvd
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55enisa_euvd
- https://github.com/hwchase17/langchain/issues/4394enisa_euvd
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.312enisa_euvd
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55ExploitThird Party Advisorynvd
- https://github.com/hwchase17/langchain/issues/4394ExploitIssue TrackingVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan