Description
Description

When StormCrawler fetches a host's `/robots.txt` and receives a redirect, `HttpRobotRulesParser`
resolves the `Location` header and re-fetches the target for up to five hops. The loop checks neither
the scheme, the host nor the port of the resolved target, and it is not governed by
`http.allow.redirects`, which only affects the page fetch. A crawled site can therefore point the
robots.txt fetch at any address reachable from the fetcher worker, including loopback interfaces,
private ranges and cloud metadata endpoints. Every crawled URL triggers a robots.txt fetch on a cache
miss, so no unusual configuration is required to reach the loop.

The fetched body is only parsed as robots rules and is not returned to the caller, so the read itself
is blind. The more direct impact is on credentials: the okhttp protocol applies its configured request
headers, including the `Authorization` header built from `http.basicauth.user` and
`http.basicauth.password` and anything in `http.custom.headers`, to every request it makes. Because
StormCrawler follows the redirect itself and issues a new request, okhttp's own removal of the
`Authorization` header across a host change does not apply, and the operator's crawl credentials are
delivered to the host the redirect names.

The connection-time IP filter, `http.filter.ipaddress.include` and `http.filter.ipaddress.exclude`, is
installed as an okhttp network interceptor on the same client and does apply to these hops when it is
configured. It ships with no rules, which is why the path is reachable in a default configuration. URL
filtering never applies, because the robots.txt fetch does not pass through the outlink filter chain.

Mitigation

Upgrade to 4.0.0, where a robots.txt redirect is followed only when the target uses http or https and
shares scheme, host and port with the URL it was reached from. Deployments that legitimately serve
robots.txt through a cross-host redirect can restore the previous behaviour with
`http.robots.redirect.crosshost.allow`.

Users who cannot upgrade immediately should set `http.filter.ipaddress.exclude` to cover loopback,
private, link-local and CGNAT ranges, which is enforced after DNS resolution and therefore also on
redirect hops. Operators who configure `http.basicauth.*` or `http.custom.headers` for a crawl should
assume those credentials may have been sent to third-party hosts and rotate them, and should scope
credentials by running a separate topology per origin.

Credit

Independently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept.

Also found by the ASF -- using Claude agents to study the security of open-source projects, validated
and reported by Apache StormCrawler.
Published: 2026-11-24
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 24 Nov 2026 11:30:00 +0000

Type Values Removed Values Added
References

Tue, 24 Nov 2026 11:00:00 +0000

Type Values Removed Values Added
Description Description When StormCrawler fetches a host's `/robots.txt` and receives a redirect, `HttpRobotRulesParser` resolves the `Location` header and re-fetches the target for up to five hops. The loop checks neither the scheme, the host nor the port of the resolved target, and it is not governed by `http.allow.redirects`, which only affects the page fetch. A crawled site can therefore point the robots.txt fetch at any address reachable from the fetcher worker, including loopback interfaces, private ranges and cloud metadata endpoints. Every crawled URL triggers a robots.txt fetch on a cache miss, so no unusual configuration is required to reach the loop. The fetched body is only parsed as robots rules and is not returned to the caller, so the read itself is blind. The more direct impact is on credentials: the okhttp protocol applies its configured request headers, including the `Authorization` header built from `http.basicauth.user` and `http.basicauth.password` and anything in `http.custom.headers`, to every request it makes. Because StormCrawler follows the redirect itself and issues a new request, okhttp's own removal of the `Authorization` header across a host change does not apply, and the operator's crawl credentials are delivered to the host the redirect names. The connection-time IP filter, `http.filter.ipaddress.include` and `http.filter.ipaddress.exclude`, is installed as an okhttp network interceptor on the same client and does apply to these hops when it is configured. It ships with no rules, which is why the path is reachable in a default configuration. URL filtering never applies, because the robots.txt fetch does not pass through the outlink filter chain. Mitigation Upgrade to 4.0.0, where a robots.txt redirect is followed only when the target uses http or https and shares scheme, host and port with the URL it was reached from. Deployments that legitimately serve robots.txt through a cross-host redirect can restore the previous behaviour with `http.robots.redirect.crosshost.allow`. Users who cannot upgrade immediately should set `http.filter.ipaddress.exclude` to cover loopback, private, link-local and CGNAT ranges, which is enforced after DNS resolution and therefore also on redirect hops. Operators who configure `http.basicauth.*` or `http.custom.headers` for a crawl should assume those credentials may have been sent to third-party hosts and rotate them, and should scope credentials by running a separate topology per origin. Credit Independently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept. Also found by the ASF -- using Claude agents to study the security of open-source projects, validated and reported by Apache StormCrawler.
Title Apache StormCrawler: Server-Side Request Forgery and Cross-Origin Credential Disclosure via robots.txt Redirect Handling
Weaknesses CWE-918
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-24T11:13:48.269Z

Reserved: 2026-08-29T11:18:30.724Z

Link: CVE-2026-82446

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-24T11:17:21.350

Modified: 2026-11-24T15:14:42.330

Link: CVE-2026-82446

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-24T12:30:04Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)