{"affected":[{"defaultStatus":"unaffected","ecosystem":"maven","packageName":"org.apache.stormcrawler:stormcrawler-core","product":"Apache StormCrawler","source":"CNA: apache","vendor":"Apache Software Foundation","versions":[{"lessThan":"4.0.0","status":"affected","version":"3.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-82446","cwes":["CWE-918"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1795533282330,"publishedAt":1795516844649,"references":[{"source":"CNA: apache","tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/mzwkqcr85tvvobvs51hdxlvmcvrrwr7d"},{"source":"ADP: CVE","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/23/24"},{"source":"security@apache.org","tags":[],"url":"https://lists.apache.org/thread/mzwkqcr85tvvobvs51hdxlvmcvrrwr7d"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/23/24"}],"remediation":[],"revision":"40f614d4776db3286c6f6bd960707d8eb791f915d775f0b1a9f5e0111d2549f1","sources":[{"modifiedAt":1795518828269,"name":"CNA: apache","retrievedAt":1795522198298,"url":"https://www.cve.org/CVERecord?id=CVE-2026-82446"},{"modifiedAt":1795533282330,"name":"NVD","retrievedAt":1795544329298,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82446"}],"ssvc":null,"status":"published","title":"Apache StormCrawler: Server-Side Request Forgery and Cross-Origin Credential Disclosure via robots.txt Redirect Handling","updatedAt":1795544329298}