CVE-2026-41481

MEDIUM CVSS 3.1: 6.5 EPSS 0.26%
Updated Jul 15, 2026
Langchain
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 1.1.2
Fixed In 1.1.2
Type CWE-918 (Server-Side Request Forgery (SSRF))
Vendor Langchain
Public PoC No

LangChain is a framework for building agents and LLM-powered applications. Prior to langchain-text-splitters 1.1.2, HTMLHeaderTextSplitter.split_text_from_url() validated the initial URL using validate_safe_url() but then performed the fetch with requests.get() with redirects enabled (the default). Because redirect targets were not revalidated, a URL pointing to an attacker-controlled server could redirect to internal, localhost, or cloud metadata endpoints, bypassing SSRF protections.

The response body is parsed and returned as Document objects to the calling application code. Whether this constitutes a data exfiltration path depends on the application: if it exposes Document contents (or derivatives) back to the requester who supplied the URL, sensitive data from internal endpoints could be leaked. Applications that store or process Documents internally without returning raw content to the requester are not directly exposed to data exfiltration through this issue.

This vulnerability is fixed in 1.1.2.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Langchain Langchain-Text-Splitters
cpe:2.3:a:langchain:langchain-text-splitters:*:*:*:*:*:*:*:*
1.1.2