# CVE-2026-41481: LangChain: HTMLHeaderTextSplitter.split\_text\_from\_url SSRF Redirect Bypass

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-28)
- **CWE:** CWE-918
- **Aliases:** GHSA-fv5p-p927-qmxr, PYSEC-2026-77
- **Published:** 2026-04-16T22:53:32.000Z
- **Modified:** 2026-10-26T22:10:00.163Z

## Who should check

- Projects that depend on PyPI package langchain-text-splitters (\< 1.1.2)
- Anyone running langchain-ai langchain-text-splitters \< 1.1.2

## 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.

## Affected and fixed versions

- PyPI `langchain-text-splitters`: affected \< 1.1.2; fixed 1.1.2 (osv)
- langchain-ai langchain-text-splitters: \< 1.1.2 (cvelist)

## Mitigation

- Upgrade langchain-text-splitters to 1.1.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-41481. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-41481.md
Affected: langchain-text-splitters < 1.1.2
Fixed in: 1.1.2

Steps:
1. Search this machine and project for langchain-text-splitters (PyPI), langchain-ai langchain-text-splitters: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-41481 being exploited?

There is no confirmed exploitation: CVE-2026-41481 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-41481?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-41481?

langchain-text-splitters \< 1.1.2.

### Is there a fix for CVE-2026-41481?

Yes. Fixed in 1.1.2. Upgrade langchain-text-splitters to 1.1.2 or later.

### How do I check if I'm affected by CVE-2026-41481?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/langchain-ai/langchain/security/advisories/GHSA-fv5p-p927-qmxr>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-41481>
- other: <https://access.redhat.com/security/cve/CVE-2026-41481>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2461733>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41481.json>
- other: <https://github.com/langchain-ai/langchain>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/langchain-text-splitters/PYSEC-2026-77.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-41481>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fv5p-p927-qmxr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-77> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-41481> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-41481>
