{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82446","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2026-08-29T11:18:30.724Z","datePublished":"2026-11-24T10:40:44.649Z","dateUpdated":"2026-11-24T11:13:48.269Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2026-11-24T10:40:44.649Z"},"title":"Apache StormCrawler: Server-Side Request Forgery and Cross-Origin Credential Disclosure via robots.txt Redirect Handling","problemTypes":[{"descriptions":[{"description":"CWE-918 Server-Side request forgery (SSRF)","lang":"en","cweId":"CWE-918","type":"CWE"}]}],"source":{"discovery":"UNKNOWN"},"affected":[{"vendor":"Apache Software Foundation","product":"Apache StormCrawler","collectionURL":"https://repo.maven.apache.org/maven2","packageName":"org.apache.stormcrawler:stormcrawler-core","packageURL":"pkg:maven/org.apache.stormcrawler/stormcrawler-core","versions":[{"status":"affected","version":"3.0.0","lessThan":"4.0.0","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"value":"Description\n\nWhen StormCrawler fetches a host's `/robots.txt` and receives a redirect, `HttpRobotRulesParser`\nresolves the `Location` header and re-fetches the target for up to five hops. The loop checks neither\nthe scheme, the host nor the port of the resolved target, and it is not governed by\n`http.allow.redirects`, which only affects the page fetch. A crawled site can therefore point the\nrobots.txt fetch at any address reachable from the fetcher worker, including loopback interfaces,\nprivate ranges and cloud metadata endpoints. Every crawled URL triggers a robots.txt fetch on a cache\nmiss, so no unusual configuration is required to reach the loop.\n\nThe fetched body is only parsed as robots rules and is not returned to the caller, so the read itself\nis blind. The more direct impact is on credentials: the okhttp protocol applies its configured request\nheaders, including the `Authorization` header built from `http.basicauth.user` and\n`http.basicauth.password` and anything in `http.custom.headers`, to every request it makes. Because\nStormCrawler follows the redirect itself and issues a new request, okhttp's own removal of the\n`Authorization` header across a host change does not apply, and the operator's crawl credentials are\ndelivered to the host the redirect names.\n\nThe connection-time IP filter, `http.filter.ipaddress.include` and `http.filter.ipaddress.exclude`, is\ninstalled as an okhttp network interceptor on the same client and does apply to these hops when it is\nconfigured. It ships with no rules, which is why the path is reachable in a default configuration. URL\nfiltering never applies, because the robots.txt fetch does not pass through the outlink filter chain.\n\nMitigation\n\nUpgrade to 4.0.0, where a robots.txt redirect is followed only when the target uses http or https and\nshares scheme, host and port with the URL it was reached from. Deployments that legitimately serve\nrobots.txt through a cross-host redirect can restore the previous behaviour with\n`http.robots.redirect.crosshost.allow`.\n\nUsers who cannot upgrade immediately should set `http.filter.ipaddress.exclude` to cover loopback,\nprivate, link-local and CGNAT ranges, which is enforced after DNS resolution and therefore also on\nredirect hops. Operators who configure `http.basicauth.*` or `http.custom.headers` for a crawl should\nassume those credentials may have been sent to third-party hosts and rotate them, and should scope\ncredentials by running a separate topology per origin.\n\nCredit\n\nIndependently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept.\n\nAlso found by the ASF -- using Claude agents to study the security of open-source projects, validated\nand reported by Apache StormCrawler.","lang":"en","supportingMedia":[{"type":"text/html","base64":false,"value":"<b>Description</b><br><br>When StormCrawler fetches a host's `/robots.txt` and receives a redirect, `HttpRobotRulesParser`<br>resolves the `Location` header and re-fetches the target for up to five hops. The loop checks neither<br>the scheme, the host nor the port of the resolved target, and it is not governed by<br>`http.allow.redirects`, which only affects the page fetch. A crawled site can therefore point the<br>robots.txt fetch at any address reachable from the fetcher worker, including loopback interfaces,<br>private ranges and cloud metadata endpoints. Every crawled URL triggers a robots.txt fetch on a cache<br>miss, so no unusual configuration is required to reach the loop.<br><br>The fetched body is only parsed as robots rules and is not returned to the caller, so the read itself<br>is blind. The more direct impact is on credentials: the okhttp protocol applies its configured request<br>headers, including the `Authorization` header built from `http.basicauth.user` and<br>`http.basicauth.password` and anything in `http.custom.headers`, to every request it makes. Because<br>StormCrawler follows the redirect itself and issues a new request, okhttp's own removal of the<br>`Authorization` header across a host change does not apply, and the operator's crawl credentials are<br>delivered to the host the redirect names.<br><br>The connection-time IP filter, `http.filter.ipaddress.include` and `http.filter.ipaddress.exclude`, is<br>installed as an okhttp network interceptor on the same client and does apply to these hops when it is<br>configured. It ships with no rules, which is why the path is reachable in a default configuration. URL<br>filtering never applies, because the robots.txt fetch does not pass through the outlink filter chain.<br><br><b>Mitigation</b><br><br>Upgrade to 4.0.0, where a robots.txt redirect is followed only when the target uses http or https and<br>shares scheme, host and port with the URL it was reached from. Deployments that legitimately serve<br>robots.txt through a cross-host redirect can restore the previous behaviour with<br>`http.robots.redirect.crosshost.allow`.<br><br>Users who cannot upgrade immediately should set `http.filter.ipaddress.exclude` to cover loopback,<br>private, link-local and CGNAT ranges, which is enforced after DNS resolution and therefore also on<br>redirect hops. Operators who configure `http.basicauth.*` or `http.custom.headers` for a crawl should<br>assume those credentials may have been sent to third-party hosts and rotate them, and should scope<br>credentials by running a separate topology per origin.<br><br><b>Credit</b><br><br>Independently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept.<br><br>Also found by the ASF -- using Claude agents to study the security of open-source projects, validated<br>and reported by Apache StormCrawler.<br>"}]}],"references":[{"url":"https://lists.apache.org/thread/mzwkqcr85tvvobvs51hdxlvmcvrrwr7d","tags":["vendor-advisory"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"moderate"}},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"credits":[{"lang":"en","value":"n0mi1k","type":"finder"},{"lang":"en","value":"The ASF using Claude Agents","type":"finder"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/23/24"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-11-24T11:13:48.269Z"}}]}}