PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-41481 langchain-ai CVE debrief

CVE-2026-41481 is a Server-Side Request Forgery (SSRF) vulnerability in LangChain Text Splitters prior to version 1.1.2. The vulnerability arises from the `HTMLHeaderTextSplitter.split_text_from_url()` function, which validates the initial URL but then performs the fetch with redirects enabled. This allows an attacker-controlled server to redirect to internal, localhost, or cloud metadata endpoints, potentially bypassing SSRF protections. The response body is parsed and returned as Document objects to the calling application code. The impact depends on the application: if it exposes Document contents back to the requester, 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. This vulnerability is fixed in version 1.1.2.

Vendor
langchain-ai
Product
langchain-text-splitters
CVSS
MEDIUM 6.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-24
Original CVE updated
2026-07-15
Advisory published
2026-04-24
Advisory updated
2026-07-15

Who should care

Developers and administrators using LangChain Text Splitters prior to version 1.1.2 should be aware of this SSRF vulnerability. Applications that expose Document contents or derivatives back to the requester who supplied the URL are at risk of sensitive data leakage from internal endpoints. Users of LangChain Text Splitters should assess their applications' exposure and update to version 1.1.2 or later to mitigate this vulnerability.

Technical summary

The `HTMLHeaderTextSplitter.split_text_from_url()` function in LangChain Text Splitters prior to version 1.1.2 is vulnerable to Server-Side Request Forgery (SSRF). The function validates the initial URL using `validate_safe_url()` but then performs the fetch with `requests.get()` with redirects enabled by default. This allows an attacker to bypass SSRF protections by redirecting to internal, localhost, or cloud metadata endpoints. The response body is parsed and returned as Document objects to the application code. The vulnerability's impact depends on how the application handles Document contents. This issue is addressed in version 1.1.2.

Defensive priority

Medium priority should be given to updating LangChain Text Splitters to version 1.1.2 or later due to the potential for SSRF and data leakage. Applications that expose Document contents to requesters are at higher risk and should be prioritized for mitigation.

Recommended defensive actions

  • Update LangChain Text Splitters to version 1.1.2 or later.
  • Assess applications using LangChain Text Splitters for exposure to Document content leakage.
  • Implement additional SSRF protections for internal endpoints if updating is not immediately feasible.
  • Monitor for suspicious activity related to LangChain Text Splitters usage.
  • Review application code for secure handling of Document objects and derivatives.

Evidence notes

The CVE-2026-41481 vulnerability is documented in the official CVE record and NVD detail pages. The vulnerability was publicly disclosed on April 24, 2026, and last modified on June 30, 2026. Multiple sources, including GitHub security advisories and Red Hat security bulletins, provide additional context and mitigation guidance. The LangChain community has addressed this issue in version 1.1.2 of LangChain Text Splitters.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-41481 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-41481

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-41481 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-41481

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://github.com/langchain-ai/langchain/security/advisories/GHSA-fv5p-p927-qmxr

    [email protected] - Mitigation, Vendor Advisory

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/security/cve/CVE-2026-41481

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41481.json

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.