PyPA Advisory Database
PYSEC-2023-146
Details
An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | langchain | All versions before 0.0.195 (fixed in 0.0.195) |
References
- https://github.com/hwchase17/langchain/issues/5872
- https://github.com/hwchase17/langchain/issues/5872
- https://github.com/hwchase17/langchain/issues/5872
- https://github.com/hwchase17/langchain/pull/6003
- https://twitter.com/llm_sec/status/1668711587287375876
- https://github.com/advisories/GHSA-92j5-3459-qgp4