LangChainPublished 19 Oct 2023NVD status: Modified

CVE-2023-46229

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.

ComponentLangChain
Severityhigh (CVSS 8.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published (NVD)2023-10-19
Last modified2026-06-17
Affected versions
< 0.0.317
from the GitHub-reviewed advisory GHSA-655w-fm8m-m478
Fixed in0.0.317
WeaknessCWE-918
CISA KEVnot 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.317 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources