{"id":"CVE-2026-72848","revision":null,"records":[{"revision":"8af1373651bd4b22ad782855b5b835c9","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-72848","aliases":[],"title":"langchain-community SitemapLoader Does Not Apply restrict_to_same_domain to Nested Sitemap Index Entries, Allowing Server-Side Request Forgery","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.","state":0,"publishedAt":"2026-08-20T21:57:36.212+00:00","modifiedAt":"2026-10-01T15:20:29.405+00:00","affected":[{"ecosystem":"https://pypi.org","name":"langchain-community","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"langchain-ai\",\n                    \"product\": \"langchain-community\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"collectionURL\": \"https://pypi.org\",\n                    \"packageName\": \"langchain-community\",\n                    \"packageURL\": \"pkg:pypi/langchain-community\",\n                    \"repo\": \"https://github.com/langchain-ai/langchain-community\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.4.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programFiles\": [\n                        \"langchain_community/document_loaders/sitemap.py\"\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"severity":"HIGH"},{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","score":7.7,"severity":"HIGH"}],"references":["https://github.com/langchain-ai/langchain/issues/38814","https://github.com/langchain-ai/langchain-community/blob/main/libs/community/langchain_community/document_loaders/sitemap.py","https://github.com/langchain-ai/langchain-community","https://www.vulncheck.com/advisories/langchain-community-sitemaploader-does-not-apply-restrict-to-same-domain-to-nested-sitemap-index-entries-allowing-server-side-request-forgery"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72848","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-72848","identifiers":["CVE-2026-72848"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-11T23:56:50.3729989+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-11T23:56:50.3729989+00:00","lastSuccessAt":"2026-11-11T23:56:50.5150513+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:56:50.5150525+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-de3b77103708811b6494d2ff7c979037d73ae579742cd1649a5c765137ae5083-a7d616e0000b290cf9176297502f609a90a412eaf1f2e466d5ce827959c3ef9e","complete":true,"records":424533,"lastAttemptAt":"2026-11-11T23:56:49.2224871+00:00","lastSuccessAt":"2026-11-11T23:56:49.0445783+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:56:49.2224871+00:00","snapshotPublishedAt":"2026-11-11T23:22:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-25f2296b3ceb4f10b0c7362d39c9dc06","complete":false,"records":13760,"lastAttemptAt":"2026-11-12T00:07:08.9822533+00:00","lastSuccessAt":"2026-11-12T00:07:07.85+00:00","error":"488 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-12T00:07:07.85+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13217,"expectedIdentifiers":13813,"failedIdentifiers":488},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-11T23:56:50.3729989+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-11T23:56:50.3729989+00:00","lastSuccessAt":"2026-11-11T23:56:50.5157674+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:56:50.5157675+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-fbae94a9a1fe4b38aa0770b870050628","complete":true,"records":13760,"lastAttemptAt":"2026-11-11T23:57:15.6946759+00:00","lastSuccessAt":"2026-11-11T23:57:15.691+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:57:15.691+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-11T23:56:49.9662241+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:56:49.9662241+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-11T23:56:49.3719631+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:56:49.3719631+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-baa8362b4daf9e5f39d5563775a55935e7b442c0735d33274a921579ce4a0d66","complete":true,"records":3093,"lastAttemptAt":"2026-11-11T23:56:50.3381398+00:00","lastSuccessAt":"2026-11-11T13:00:02.5446881+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:56:50.3381398+00:00","snapshotPublishedAt":"2026-11-11T12:47:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-685fe7fb2b690656c910a1ea42a9d294e8353311ac8ecfa691a9b0ff1b328804","complete":true,"records":231695,"lastAttemptAt":"2026-11-11T23:56:49.8272134+00:00","lastSuccessAt":"2026-11-11T21:58:47.7265713+00:00","error":null,"lastVerifiedAt":"2026-11-11T23:56:49.8272134+00:00","snapshotPublishedAt":"2026-11-11T21:48:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}