Description
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | langchain | <= 0.0.131 | — | GHSA-fprp-p869-w6q2 |
| PyPI | langchain | < 0.0.132 | 0.0.132 | PYSEC-2023-18 |