CVE-2026-41481
published medium CVSS 3.1 · 6.5LangChain: HTMLHeaderTextSplitter.split_text_from_url SSRF Redirect Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| langchain-ai | — | langchain-text-splitters< 1.1.2 | Affected | Not stated | GitHub_M |
| Red Hat | — | mta/mta-solution-server-rhel9Migration Toolkit for Applications 8 | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed/lightspeed-service-api-rhel9OpenShift Lightspeed | Affected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-24/lightspeed-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/lightspeed-chatbot-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-25/lightspeed-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-llama-stack-core-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-trustyai-nemo-guardrails-server-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
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.
A flaw was found in LangChain and langchain-text-splitters. This vulnerability, a Server-Side Request Forgery (SSRF) bypass, allows a remote attacker to redirect a seemingly safe URL to internal network resources. By exploiting unvalidated redirects, an attacker could access sensitive data from internal, localhost, or cloud metadata endpoints. This could result in information disclosure or data exfiltration if the application processes and exposes the content from these redirected requests.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| langchain-ai | langchain-text-splitters | < 1.1.2 (affected) | GitHub_M · cna |
| Red Hat | Migration Toolkit for Applications 8 | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
- CWE-918 Server-Side Request Forgery (SSRF)
References
4Provider assertions
3GitHub_M · cna
LangChain: HTMLHeaderTextSplitter.split_text_from_url SSRF Redirect Bypass
redhat-SADP · adp
langchain-text-splitters: LangChain: Information Disclosure via Server-Side Request Forgery (SSRF) Redirect Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ebaa635fdb19ef1ff26d273c45de38cc4a223bdd2fa2e0600b1d95eb55a675d2
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record