6.5

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

CVSS: 6.5v3.1MediumModified
AliasesGHSA-fv5p-p927-qmxrPYSEC-2026-77CGA-6795-3vp9-rm59
Published 24-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-41481 is a medium (CVSS 6.5) Server-Side Request Forgery (SSRF) vulnerability in langchain-ai langchain-text-splitters. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 36.7% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.44%
0%100%
Low · +0.18 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

+0.18 pp

From 0.26% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.44%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard6 products
  • open-webui< 0.8.12-r4 | < 0.9.2-r0
  • py3-langchain-text-splitters< 1.1.2-r0
  • py3.10-langchain-text-splitters< 1.1.2-r0
  • py3.11-langchain-text-splitters< 1.1.2-r0
  • py3.12-langchain-text-splitters< 1.1.2-r0
Langchain1 product
Langchain-ai1 product
PyPI1 product
  • langchain-text-splitters< 1.1.2
Wolfi1 product
  • open-webui< 0.8.12-r4 | < 0.9.2-r0

5 vendors · 10 products

References

8 links