Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 87%

CVE-2026-41481: CWE-918: Server-Side Request Forgery (SSRF) in langchain-ai langchain-text-splitters

0
Medium
VulnerabilityCVE-2026-41481cvecve-2026-41481cwe-918
Published: Fri Apr 24 2026 (04/24/2026, 20:54:27 UTC)
Source: CVE Database V5
Vendor/Project: langchain-ai
Product: langchain-text-splitters

Description

CVE-2026-41481 is a Server-Side Request Forgery (SSRF) vulnerability in langchain-ai's langchain-text-splitters prior to version 1. 1. 2. The issue arises because the HTMLHeaderTextSplitter. split_text_from_url() method validates the initial URL but does not revalidate redirect targets, allowing an attacker-controlled URL to redirect to internal or cloud metadata endpoints. This can lead to sensitive data leakage if the application returns the fetched Document contents to the requester. The vulnerability is fixed in version 1. 1. 2.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/02/2026, 07:35:12 UTC

Technical Analysis

The vulnerability exists in langchain-text-splitters before version 1.1.2, where the method split_text_from_url() validates the initial URL using validate_safe_url() but performs the HTTP fetch with redirects enabled and without revalidating redirect targets. This allows an attacker to supply a URL that redirects to internal, localhost, or cloud metadata endpoints, bypassing SSRF protections. The fetched response is parsed into Document objects and returned to the application. If the application exposes these Document contents back to the requester, sensitive internal data could be leaked. Applications that do not expose Document contents to the requester are not directly impacted by data exfiltration through this vulnerability. The issue is addressed in langchain-text-splitters version 1.1.2.

Potential Impact

An attacker can exploit this SSRF vulnerability to cause the application to make HTTP requests to internal or cloud metadata endpoints that are normally inaccessible. If the application returns the fetched Document contents to the user who supplied the URL, this can lead to sensitive data disclosure. There is no impact on integrity or availability reported. The severity is rated medium with a CVSS score of 6.5.

Mitigation Recommendations

Upgrade langchain-text-splitters to version 1.1.2 or later, where this SSRF vulnerability is fixed by properly validating redirect targets. Until upgraded, applications should avoid returning raw Document contents fetched from user-supplied URLs to the requester. Patch status is confirmed fixed in version 1.1.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-20T16:14:19.006Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69ebdedf87115cfb68748361

Added to database: 4/24/2026, 9:21:35 PM

Last enriched: 5/2/2026, 7:35:12 AM

Last updated: 6/9/2026, 1:39:18 AM

Views: 197

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses