CVE-2026-26019

Medium

Description

LangChain is a framework for building LLM-powered applications. Prior to 1.1.14, the RecursiveUrlLoader class in @langchain/community is a web crawler that recursively follows links from a starting URL. Its preventOutside option (enabled by default) is intended to restrict crawling to the same site as the base URL. The implementation used String.startsWith() to compare URLs, which does not perform semantic URL validation. An attacker who controls content on a crawled page could include links to domains that share a string prefix with the target, causing the crawler to follow links to attacker-controlled or internal infrastructure. Additionally, the crawler performed no validation against private or reserved IP addresses. A crawled page could include links targeting cloud metadata services, localhost, or RFC 1918 addresses, and the crawler would fetch them without restriction. This vulnerability is fixed in 1.1.14.

SeverityMedium
CVSS4.1
Exploit probability—
ProductLangchain Community
PublishedFeb 11, 2026
First seenFeb 11, 2026

How to fix

Update
  • langchain langchain_community1.1.14 or later
  • @langchain/community1.1.14 or later

Affected products

ProductAffected versionsFixed in
langchain langchain_communityv < 1.1.141.1.14
@langchain/communitynpmv < 1.1.141.1.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.