ADVISORIES

Vulnerability

CVE-2023-29374

In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity PyPI 2

Advisories

  • GHSA-fprp-p869-w6q2

    LangChain vulnerable to code injection

    Critical CVE-2023-29374 PyPI Updated 12 February 2025
  • PYSEC-2023-18

    In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.

    CVE-2023-29374 PyPI Updated 10 June 2026

References