PyPA Advisory Database
PYSEC-2023-151
Details
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via the via the a json file to the load_prompt parameter.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | langchain | All versions before 0.0.171 (fixed in 0.0.171) |
References
- https://github.com/hwchase17/langchain/issues/4394
- https://github.com/hwchase17/langchain/issues/4394
- https://github.com/hwchase17/langchain/issues/4394
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55
- https://github.com/advisories/GHSA-7gfq-f96f-g85j