CVE-2026-41481
MEDIUM 6.5CVSS 3.1LangChain Text Splitters: HTMLHeaderTextSplitter.split_text_from_url SSRF Redirect Bypass
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.
- Published
- 24 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-fv5p-p927-qmxrPYSEC-2026-77
- Sources
- NVDJSONOSV GHSA-fv5p-p927-qmxrJSONOSV PYSEC-2026-77JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langchain | langchain-text-splitterscpe:2.3:a:langchain:langchain-text-splitters:*:*:*:*:*:*:*:* |
< 1.1.2 | 1.1.2 |
| OSV | PyPI | langchain-text-splitters | < 1.1.2 | 1.1.2 |
References
- https://github.com/langchain-ai/langchain/security/advisories/GHSA-fv5p-p927-qmxr · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/security/cve/CVE-2026-41481
- https://bugzilla.redhat.com/show_bug.cgi?id=2461733
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41481.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-41481 · ADVISORY
- https://github.com/langchain-ai/langchain · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-text-splitters/PYSEC-2026-77.yaml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2026)