# CVE-2026-41481: LangChain: HTMLHeaderTextSplitter.split_text_from_url SSRF Redirect Bypass

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-04-16T22:53:32.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-fv5p-p927-qmxr, PYSEC-2026-77
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- langchain-ai langchain-text-splitters: < 1.1.2
- mta/mta-solution-server-rhel9: no versions given
- openshift-lightspeed/lightspeed-service-api-rhel9: no versions given
- ansible-automation-platform-24/lightspeed-rhel8: no versions given
- ansible-automation-platform-25/lightspeed-chatbot-rhel8: no versions given
- ansible-automation-platform-25/lightspeed-rhel8: no versions given
- rhoai/odh-llama-stack-core-rhel9: no versions given
- rhoai/odh-trustyai-nemo-guardrails-server-rhel9: no versions given
- langchain-text-splitters (PyPI): before 1.1.2
- langchain langchain-text-splitters: before 1.1.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- redhat-SADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/langchain-ai/langchain/security/advisories/GHSA-fv5p-p927-qmxr> (advisory, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-41481> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2461733> (issue-tracking)
- <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)

## Sources

- CVE List: [CVE-2026-41481](https://www.cve.org/CVERecord?id=CVE-2026-41481), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-fv5p-p927-qmxr](https://github.com/advisories/GHSA-fv5p-p927-qmxr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-41481](https://nvd.nist.gov/vuln/detail/CVE-2026-41481), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-77](https://osv.dev/vulnerability/PYSEC-2026-77), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-41481 · Whole record: https://cve.day/CVE-2026-41481.json · Rebuilt by cve.day 2026-11-25T22:59:19.586Z
