<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Langchain_community - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/langchain_community/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 20 Aug 2026 23:26:45 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/langchain_community/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>SSRF via Improper Domain Validation in LangChain SitemapLoader</title><link>https://feed.craftedsignal.io/briefs/2026-08-langchain-sitemap-ssrf/</link><pubDate>Thu, 20 Aug 2026 23:26:45 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-langchain-sitemap-ssrf/</guid><description>A logic flaw in langchain_community SitemapLoader allows attackers to bypass domain restrictions, enabling Server-Side Request Forgery to access internal network resources and exfiltrate sensitive content.</description><content:encoded><![CDATA[<p>CVE-2026-72848 identifies a critical server-side request forgery (SSRF) vulnerability within the <code>langchain_community</code> library, specifically in the <code>SitemapLoader</code> class. The vulnerability arises from an incomplete implementation of the <code>restrict_to_same_domain</code> security control. While the loader correctly enforces domain restrictions on leaf URL entries, it fails to apply these same checks to nested sitemap elements.</p>
<p>When processing sitemaps, the loader recursively handles nested sitemap entries by passing them directly to <code>WebBaseLoader.scrape_all</code> and subsequently an <code>aiohttp</code> GET request. This process occurs without any validation against internal, loopback, or link-local address spaces. An attacker who can influence the sitemap input provided to the application can force the server to fetch internal resources. Because the application then parses and returns the content of these internal requests to the caller, this flaw results in the unauthorized disclosure of sensitive internal data. This vulnerability affects users deploying LangChain components in environments where they rely on <code>restrict_to_same_domain</code> for network isolation.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for the unauthorized retrieval of internal service data that is otherwise unreachable from the public internet. This includes internal configuration files, metadata services, and internal APIs that are protected by network perimeter defenses but vulnerable to requests originating from within the server environment. This vulnerability poses a high risk to cloud-based deployments and containerized environments where the LangChain application may have implicit access to local network segments or internal cloud metadata endpoints (e.g., 169.254.169.254).</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Monitor egress traffic from application servers hosting LangChain components to detect unusual HTTP requests to internal IP ranges (RFC1918) or local infrastructure services.</li>
<li>Implement network-level egress filtering (e.g., via Kubernetes NetworkPolicies or Cloud Security Groups) to restrict the <code>langchain_community</code> application's ability to communicate with internal network segments that do not require access.</li>
<li>Audit applications utilizing <code>SitemapLoader</code> to determine if input sitemaps are sourced from untrusted or user-controlled locations.</li>
<li>Update <code>langchain_community</code> to a patched version once released by the vendor to address the logic flaw in <code>parse_sitemap</code>.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>