CVE-2026-82442 Apache StormCrawler: HostURLFilter Domain Scoping Silently Disabled by a Wrong Variable Check
apache software foundation apache stormcrawler: no CVSS score yet.
Description
`HostURLFilter.configure` reads the `ignoreOutsideDomain` parameter but tests the node belonging to
`ignoreOutsideHost` when deciding whether the domain mode was configured. A filter configuration that
names only `ignoreOutsideDomain`, which the class documentation presents as an independent mode, is
therefore discarded: the flag is forced to false, `filter` short-circuits on its guard and every URL is
returned unchanged. The filter enforces nothing while appearing to be configured, and the failure is
silent. The mirror-image configuration, naming only `ignoreOutsideHost`, fails with a
`NullPointerException` while the topology is starting.
The effect is the loss of a scope control the operator configured, so a crawled page's outlinks are
followed to hosts the operator intended to exclude. Impact beyond crawl scope depends on what the
crawler then fetches and is not claimed here. Projects generated from the StormCrawler Maven archetypes
are not affected, because all three shipped filter configurations set both parameters.
Mitigation
Upgrade to 4.0.0, where each parameter is tested independently. Operators whose configuration sets only
`ignoreOutsideDomain` will find the crawl restricted to the source domain, as configured, which may
reduce the number of outlinks accepted.
Users who cannot upgrade immediately should set both `ignoreOutsideHost` and `ignoreOutsideDomain`
explicitly in the `HostURLFilter` configuration, which produces the intended behaviour on affected
versions.
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.
- CWE
- CWE-1025 Comparison Using Wrong Factors
- Published
- Modified
- Assigned by
- apache (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-82442 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-82442?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-82442?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-82442 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache StormCrawler | from 3.0.0 before 4.0.0 |