CVE-2023-36095
Summary
| CVE | CVE-2023-36095 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-08-05 03:15:13 UTC |
| Updated | 2026-07-09 01:18:28 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.010620000 probability, percentile 0.606600000 (date 2026-07-13)
Problem Types: CWE-94 | n/a
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Prompt injection which leads to arbitrary code execution in `langchain.chains.PALChain` · Issue #5872 · langchain-ai/langchain · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Issue Tracking, Vendor Advisory |
| GitHub - langchain-ai/langchain: ⚡ Building applications with LLMs through composability ⚡ | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product |
| LangChain | MITRE | langchain.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 994795 Python (Pip) Security Update for langchain (GHSA-gwqq-6vq7-5j86)