Skip to content
CriticalVulnerabilityLLM-specific

CVE-2023-36188: langchain remote code execution via PALChain parameter

Identifier
CVE-2023-36188
Published
Record updated
View JSON
Affected
  • langchain < 0.0.247
Fixed in
0.0.247
  • released July 28, 2023, 23 days after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.9%

Summary

CVE-2023-36188 affects langchain v.0.0.64. A remote attacker can execute arbitrary code through the PALChain parameter in the Python exec method. The NIST NVD has not yet provided an assessment, and the weakness is classified as CWE-74, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').

Mitigation

The source references a patch at https://github.com/hwchase17/langchain/pull/6003, but it does not describe the fix, a fixed version or a workaround.