Katalog CVE

CVE-2026-72848

WysokieCVSS 8.6
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.48%

Percentyl 39 - wyżej niż 39% wszystkich znanych CVE

Streszczenie

Podatność w SitemapLoader.parse_sitemap w langchain_community/document_loaders/sitemap.py pozwala atakującemu kontrolującemu sitemapę na wskazanie zagnieżdżonego wpisu na wewnętrzny adres, nawet gdy ustawiono restrict_to_same_domain na True. Serwer pobierze wewnętrzne treści i ujawni je w zwracanych dokumentach.

Ocena ryzyka

Atakujący może uzyskać dostęp do wewnętrznych zasobów sieciowych i ujawnić ich zawartość, co może prowadzić do wycieku poufnych informacji.

Rekomendacja

Zastosuj poprawkę od producenta lub wzmocnij walidację domen i adresów IP w SitemapLoader, aby blokować dostęp do adresów prywatnych, loopback i link-local.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS