CVE-2026-41481: langchain-text-splitters · Server-Side Request Forgery (SSRF)
Affects langchain-text-splittersSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.1.2 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.1.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade langchain-text-splitters to 1.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| langchain-ailangchain-text-splitters | Affected
| Fixed in
|
PyPIlangchain-text-splitterspkg:pypi/langchain-text-splittersOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in langchain-text-splitters version 1.1.2. Users should upgrade to version 1.1.2 or later to remediate the issue. There is no official remediation level stated beyond the fix. No additional mitigations are specified by the vendor advisory. Patch status is confirmed by the vendor advisory.
Description
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.
References
- github.com/langchain-ai/langchain/security/advisories/GHSA-fv5p-p927-qmxr (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-41481 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2461733 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41481.json (opens in a new tab)