| Component | LangChain |
| Severity | high (CVSS 8.8) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published (NVD) | 2023-10-19 |
| Last modified | 2026-06-17 |
| Affected versions | < 0.0.317 from the GitHub-reviewed advisory GHSA-655w-fm8m-m478 |
| Fixed in | 0.0.317 |
| Weakness | CWE-918 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-655w-fm8m-m478.
NVD description
LangChain before 0.0.317 allows SSRF via document_loaders/recursive_url_loader.py because crawling can proceed from an external server to an internal server.
What to do
- Upgrade LangChain to
0.0.317or later. - Do not expose the component's API or UI to the internet without authentication in front of it.