CVE-2026-72848
Last modified
CVE-2026-72848 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. SitemapLoader.parse_sitemap in langchain_community/document_loaders/sitemap.py applies the documented restrict_to_same_domain control only to leaf url entries. The loop over url elements filters cross-domain locations, but the loop over nested sitemap elements passes the child loc straight to self.scrape_all([loc.text], "xml"), which reaches WebBaseLoader.scrape_all and an aiohttp GET, with no domain comparison and no check for private, loopback or link-local destinations. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
Description
SitemapLoader.parse_sitemap in langchain_community/document_loaders/sitemap.py applies the documented restrict_to_same_domain control only to leaf url entries. The loop over url elements filters cross-domain locations, but the loop over nested sitemap elements passes the child loc straight to self.scrape_all([loc.text], "xml"), which reaches WebBaseLoader.scrape_all and an aiohttp GET, with no domain comparison and no check for private, loopback or link-local destinations. An attacker who controls or influences an ingested sitemap can therefore point a nested sitemap entry at an internal address and make the server fetch it even when the deploying application set restrict_to_same_domain to True specifically to confine outbound requests. The fetched content is parsed and surfaces in the returned Documents, so internal responses are disclosed to the caller rather than merely requested.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| langchain-ai | langchain-community | <= 0.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-72848?
How severe is CVE-2026-72848?
How do I fix CVE-2026-72848?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72842luci-app-lxc contains an ACL inconsistency vulnerability tha…9.9
- CVE-2026-72843The customer update route in EverShop is declared with "acce…9.8
- CVE-2026-72844The Lean 4 kernel does not verify that the structure named i…6.3
- CVE-2026-72845Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-72846Lightdash stores the webhook URL supplied with a scheduled d…6.4
- CVE-2026-72847broot renders each file and directory name in its interactiv…4.6
- CVE-2026-72849Budibase before 3.40.0 contains a cross-site request forgery…7.7
- CVE-2026-72850Budibase before 3.40.0 fails to properly sanitize S3 object …9.1
- CVE-2026-72851Budibase before 3.40.0 contains an unauthenticated SQL injec…10
- CVE-2026-72852hank-ai/darknet sizes a convolutional layer's weight and out…7.8
- CVE-2026-72853Budibase before 3.40.0 contains a SQL injection vulnerabilit…7.6
- CVE-2026-72854msgpack_unpacker_expand_buffer in src/unpack.c, reached thro…5.3
Are you affected by CVE-2026-72848?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
