Skip to content
CriticalVulnerability

CVE-2023-38860: LangChain arbitrary code execution via prompt parameter

Identifier
CVE-2023-38860
Published
Record updated
View JSON
Affected
  • langchain >= 0, < 0.0.247
Fixed in
0.0.247
  • released July 28, 2023, 17 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.4%

Summary

CVE-2023-38860 affects LangChain v.0.0.231. The source states that a remote attacker can execute arbitrary code through the prompt parameter. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection'), and NIST has not yet provided an assessment.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.