langchain-ai/langchain · Security
langchain vulnerable to arbitrary code execution
- GHSA ID
- GHSA-57fc-8q82-gfp3
- CVE ID
- CVE-2023-36188
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
An issue in langchain allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-36188 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-109.yaml ↗
- https://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e ↗
- https://github.com/langchain-ai/langchain/issues/5872 ↗
- https://github.com/langchain-ai/langchain/pull/8425 ↗
- https://github.com/langchain-ai/langchain/pull/6003 ↗
- https://github.com/advisories/GHSA-57fc-8q82-gfp3 ↗