HighVulnerability
CVE-2026-72848: SitemapLoader nested sitemap entries bypass restrict_to_same_domain
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-72848
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
SitemapLoader.parse_sitemap in langchain_community/document_loaders/sitemap.py applies restrict_to_same_domain only to leaf url entries, not to nested sitemap entries, which are passed directly to self.scrape_all([loc.text], "xml") and fetched with an aiohttp GET. An attacker who controls or influences an ingested sitemap can point a nested entry at an internal address, so the server fetches it even when restrict_to_same_domain is True, and the response is returned in the Documents.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor · GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor · GitHub Advisory Database
- MediumGHSA-3fx2-cqw9-xr3c: LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestsSame vendor · GitHub Advisory Database
- MediumGHSA-6hmw-9432-67qq: LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite storesSame vendor · GitHub Advisory Database
- MediumCVE-2026-108575: BerriAI LiteLLM improper authorization in secret resolution via api_keySame vendor · NVD/CVE Database