Quick answers
- Is CVE-2026-41481 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-41481 being exploited in the wild.
- How severe is CVE-2026-41481?
- Medium severity, with a CVSS score of 6.5, published 24 April 2026.
- Which products and versions are affected?
- LangChain Text Splitters < 1.1.2; langchain-text-splitters (PyPI) < 1.1.2, ECOSYSTEM:introduced=0,fixed=1.1.2.
- Is there a fix for CVE-2026-41481?
- Yes. langchain-text-splitters (PyPI): upgrade to 1.1.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-41481 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-41481?
- Check whether you run LangChain Text Splitters, langchain-text-splitters (PyPI) or Red Hat OpenShift Lightspeed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- langchain-text-splitters (PyPI): upgrade to 1.1.2 or later
pip install "langchain-text-splitters>=1.1.2"
Technical details
A Server-Side Request Forgery (SSRF) vulnerability exists in the `HTMLHeaderTextSplitter.split_text_from_url()` function of the `langchain-text-splitters` library. While the initial URL is validated using `validate_safe_url()`, the subsequent fetch is performed using the `requests` library with redirects enabled by default. An attacker can provide a URL pointing to a malicious server that issues a 302 redirect to internal, localhost, or cloud metadata endpoints (like AWS IMDSv1). Because the redirect target is not revalidated, the application may fetch and parse sensitive internal content. This issue is fixed in version 1.1.2 by using an SSRF-safe transport that validates every request in a redirect chain.
Affected products
- LangChain langchain-text-splitters < 1.1.2
- Red Hat Migration Toolkit for Applications 8 8
- Red Hat OpenShift Lightspeed
- Red Hat Red Hat Ansible Automation Platform 2 2
- Red Hat Red Hat OpenShift AI (RHOAI)
Identifiers
- CVE-2026-41481
- GHSA-fv5p-p927-qmxr
- PYSEC-2026-77
Timeline
- 2026-04-16: advisory: GitHub advisory published by LangChain
- 2026-04-24: disclosed: CVE published to NVD
- 2026-04-24: patched: Fix released in version 1.1.2