{"answers":{"affected":"3 open source packages ship an affected version, including langchain-text-splitters. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41481 in the wild and no public exploit code.","fix":"Upgrade langchain-text-splitters to 1.1.2 or later.","what":"CVE-2026-41481 is a medium-severity server-side request forgery vulnerability in langchain-ai langchain-text-splitters, published on 24 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-41481 and fix it if it is affected.\n\nWhat it is: CVE-2026-41481 is a medium-severity server-side request forgery vulnerability in langchain-ai langchain-text-splitters, published on 24 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-41481 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- langchain-text-splitters (PyPI): affected all versions; fixed in 1.1.2\n- langchain-text-splitters (PyPI): affected all versions; fixed in 1.1.2\n- langchain-text-splitters (PyPI): affected all versions; fixed in 1.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41481/ (Markdown: https://insights.sbomify.com/CVE-2026-41481/index.md)","id":"CVE-2026-41481","markdown":"https://insights.sbomify.com/CVE-2026-41481/index.md","name":"CVE-2026-41481","record":{"aliases":["CLEANSTART-2026-VO66326","CLEANSTART-2026-VS88264","CLSA-2026-1779670108","ECHO-2692-dd04-73d6","GHSA-fv5p-p927-qmxr","PYSEC-2026-77","ROOT-APP-PYPI-CVE-2026-41481","ROOT-APP-PYPI-GHSA-fv5p-p927-qmxr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"LangChain text splitters","requires_auth":"none","summary":"Attackers can bypass SSRF protections in LangChain's HTMLHeaderTextSplitter to access internal endpoints via redirect bypass, potentially leaking sensitive data.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"langchain-text-splitters","vendor":"langchain"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"LangChain is a framework for building agents and LLM-powered applications. Prior to langchain-text-splitters\n 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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LangChain: HTMLHeaderTextSplitter.split_text_from_url SSRF Redirect Bypass","id":"CVE-2026-41481","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Frappe: Possible Path Traversal and Local File Inclusion via Chrome PDF Generator","id":"CVE-2026-41482"},"packages":[{"ecosystem":"PyPI","fixed":["1.1.2"],"introduced":["0"],"last_affected":[],"package":"langchain-text-splitters","purl":null,"source":"GHSA-fv5p-p927-qmxr"},{"ecosystem":"PyPI","fixed":["1.1.2"],"introduced":["0"],"last_affected":[],"package":"langchain-text-splitters","purl":"pkg:pypi/langchain-text-splitters","source":"GHSA-fv5p-p927-qmxr"},{"ecosystem":"PyPI","fixed":["1.1.2"],"introduced":["0"],"last_affected":[],"package":"langchain-text-splitters","purl":"pkg:pypi/langchain-text-splitters","source":"PYSEC-2026-77"}],"prev":{"headline":"Authlib OAuth 2.0 has Open Redirect in Authorization API that allows attacker-controlled redirect_uri through unsupported response_type","id":"CVE-2026-41479"},"products":["langchain-text-splitters"],"published":"2026-04-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["langchain-ai"]},"summary":"Attackers can bypass SSRF protections in LangChain's HTMLHeaderTextSplitter to access internal endpoints via redirect bypass, potentially leaking sensitive data.","url":"https://insights.sbomify.com/CVE-2026-41481/"}