{"id":77997,"date":"2026-02-25T21:53:41","date_gmt":"2026-02-25T18:23:41","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-27795-langchain-community-redirect-chaining-can-lead-to-ssrf-bypass-via-recursiveurlloader\/"},"modified":"2026-02-25T21:53:41","modified_gmt":"2026-02-25T18:23:41","slug":"cve-2026-27795-langchain-community-redirect-chaining-can-lead-to-ssrf-bypass-via-recursiveurlloader","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-27795-langchain-community-redirect-chaining-can-lead-to-ssrf-bypass-via-recursiveurlloader\/","title":{"rendered":"CVE-2026-27795 &#8211; LangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoader"},"content":{"rendered":"<p>CVE ID : CVE-2026-27795<\/p>\n<p>Published :  Feb. 25, 2026, 6:23 p.m. | 45\u00a0minutes ago<\/p>\n<p>Description : LangChain is a framework for building LLM-powered applications. Prior to version 1.1.8, a redirect-based Server-Side Request Forgery (SSRF) bypass exists in `RecursiveUrlLoader` in `@langchain\/community`. The loader validates the initial URL but allows the underlying fetch to follow redirects automatically, which permits a transition from a safe public URL to an internal or metadata endpoint without revalidation. This is a bypass of the SSRF protections introduced in 1.1.14 (CVE-2026-26019). Users should upgrade to `@langchain\/community` 1.1.18, which validates every redirect hop by disabling automatic redirects and re-validating `Location` targets before following them. In this version, automatic redirects are disabled (`redirect: &#8220;manual&#8221;`), each 3xx `Location` is resolved and validated with `validateSafeUrl()` before the next request, and a maximum redirect limit prevents infinite loops.<\/p>\n<p>Severity: 4.1 | MEDIUM<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-27795 Published : Feb. 25, 2026, 6:23 p.m. | 45\u00a0minutes ago Description : LangChain is a framework for building LLM-powered applications. Prior to version 1.1.8, a redirect-based Server-Side Request Forgery (SSRF) bypass exists in `RecursiveUrlLoader` in `@langchain\/community`. The loader validates the initial URL but allows the underlying fetch to follow redirects automatically, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77997","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77997"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77997\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}