Affected versions
Version ranges need review.
Exploitation
Description
In Langchain before 0.0.329, prompt injection allows an attacker to force the service to retrieve data from an arbitrary URL, essentially providing SSRF and potentially injecting content into downstream tasks.
Links
- https://gist.github.com/rharang/d265f46fc3161b31ac2e81db44d662e1
- https://github.com/advisories/GHSA-6h8p-4hx9-w66c
- https://github.com/langchain-ai/langchain
- https://github.com/langchain-ai/langchain/pull/12747
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.329
- https://nvd.nist.gov/vuln/detail/CVE-2023-32786
- https://pypi.org/project/langchain
Credits
- eyurtsev

