CVE-2023-36188
CRITICAL9.8EPSS 11.2%langchain vulnerable to arbitrary code execution
Published: 7/6/2023Modified: 2/16/2025
Description
An issue in langchain allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.
Affected packages (2)
- PyPI/langchainfrom 0, < 0.0.236
- PyPI/langchainfrom 0, < 0.0.247
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-36188
- PATCHhttps://github.com/langchain-ai/langchain
- WEBhttps://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e
- WEBhttps://github.com/langchain-ai/langchain/issues/5872
- WEBhttps://github.com/langchain-ai/langchain/pull/6003
- WEBhttps://github.com/langchain-ai/langchain/pull/8425
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-109.yaml