Description
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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55Exploit, Third Party Advisory
- https://github.com/hwchase17/langchain/issues/4394Exploit, Issue Tracking, Vendor Advisory
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.312
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55Exploit, Third Party Advisory
- https://github.com/hwchase17/langchain/issues/4394Exploit, Issue Tracking, Vendor Advisory
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.312
Timeline
- Published
- Aug 22, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified