Skip to content

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

MediumCVSS 6.5 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

14 packages: 2 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
redhat ansible automation platform All versions No fix listed No fix yet
redhat migration toolkit applications All versions No fix listed No fix yet
redhat openshift ai All versions No fix listed No fix yet
redhat openshift lightspeed All versions No fix listed No fix yet
redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/mta/mta-solution-server-rhel9(Red Hat migration_toolkit_applications 8) All versions No fix listed No fix yet
redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat openshift_lightspeed 1) All versions No fix listed No fix yet
redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-trustyai-nemo-guardrails-server-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
@langchain langchain-text-splitters < 1.1.2 1.1.2 Fixed
pypi langchain-text-splitters(PyPI) < 1.1.2; = 0.0.1; = 0.0.2; = 0.2.0 +23 more 1.1.2 Fixed
langchain-ai langchain-text-splitters = < 1.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
langchain-ai langchain-text-splitters = < 1.1.2 No fix listed
redhat migration toolkit applications All versions No fix listed
redhat openshift lightspeed All versions No fix listed
redhat ansible automation platform All versions No fix listed
redhat openshift ai All versions No fix listed
pypi langchain-text-splitters(PyPI) < 1.1.2 1.1.2
pypi langchain-text-splitters(PyPI) = 0.0.1 No fix listed
pypi langchain-text-splitters(PyPI) = 0.0.2 No fix listed
pypi langchain-text-splitters(PyPI) = 0.2.0 No fix listed
pypi langchain-text-splitters(PyPI) = 0.2.1 No fix listed
pypi langchain-text-splitters(PyPI) = 0.2.2 No fix listed
pypi langchain-text-splitters(PyPI) = 0.2.4 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.0 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.0.dev0 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.0.dev1 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.1 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.10 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.11 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.2 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.3 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.4 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.5 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.6 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.6rc1 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.6rc2 No fix listed
Show 15 more
ProductAffected versionsFixed in
pypi langchain-text-splitters(PyPI) = 0.3.7 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.8 No fix listed
pypi langchain-text-splitters(PyPI) = 0.3.9 No fix listed
pypi langchain-text-splitters(PyPI) = 1.0.0 No fix listed
pypi langchain-text-splitters(PyPI) = 1.0.0a1 No fix listed
pypi langchain-text-splitters(PyPI) = 1.1.0 No fix listed
pypi langchain-text-splitters(PyPI) = 1.1.1 No fix listed
redhat/mta/mta-solution-server-rhel9(Red Hat:migration_toolkit_applications:8) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-trustyai-nemo-guardrails-server-rhel9(Red Hat:openshift_ai) All versions No fix listed
@langchain langchain-text-splitters < 1.1.2 1.1.2

References