CVE-2026-82444: Apache StormCrawler: Host-Only Cookies Sent to Any Host

Published Nov 23, 2026
·
Updated

Description

CookieConverter.getCookies decides which stored cookies to attach to an outbound request. The applicability check is nested inside a test for the presence of a Domain attribute, so a cookie without one, which is the ordinary form of a session cookie, skips scoping entirely and is returned for whatever target URL was passed. RFC 6265 requires the opposite: a cookie with no Domain attribute is host-only and belongs to the host that set it.

Two further defects sit in the same method. The domain comparison has no notion of a registrable domain, so a Domain value of com matches every host under it, and the comparison returns true when it throws, so a failure to evaluate the check admits the cookie. Neither the converter nor MetadataTransfer, which carries the stored cookie to outlinks, ever considers the host that issued it.

Cookie handling is opt-in: it requires http.use.cookies to be set to true, which is not the default, and the cookie key to be listed in metadata.transfer. The documented recipe does not work as written, because the metadata.transfer example in the internals documentation names set-cookie while the key present in metadata is protocol.set-cookie and the transfer matches key names exactly. Deployments affected are therefore those where an operator determined the correct key, enabled cookie handling and crawls an authenticated site whose pages link or redirect to other hosts. In that case the session cookie of the authenticated origin is sent to those hosts.

Mitigation

Upgrade to 4.0.0, where a cookie without a Domain attribute is sent only to the host that set it, a single-label domain is rejected and the domain check fails closed. Because the protocol does not yet record the host that issued a cookie, cookies without a Domain attribute are not sent at all until that host is recorded; operators relying on cookie transfer will notice this. The documentation error is corrected in the same release.

Users who cannot upgrade immediately should confine an authenticated crawl to a topology whose URL filters keep it on the origin that issued the credentials, and should not rely on cookie scoping as a boundary. Rotating session credentials used for such crawls is advisable.

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.

Affected Software

1 affected component
Apache StormCrawler<4.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.0.0
  2. Compensating control

    Until upgrading, confine authenticated crawls to a topology whose URL filters keep requests on the origin that issued the credentials.

  3. Operational

    Rotate session credentials used for affected authenticated crawls.

Event History

Nov 24, 2026
CVE Published
via MITRE·10:38 AM
Data Sourced
via MITRE·10:38 AM
DescriptionWeakness

Frequently Asked Questions

1

Is a default StormCrawler deployment affected?

No. Cookie handling is opt-in and requires http.use.cookies to be set to true, which is not the default. The cookie key must also be included in metadata.transfer.

2

Which deployments are exposed to cross-host cookie disclosure?

Deployments that enable cookie handling and transfer stored cookie metadata to outlinks are exposed. In those deployments, cookies can be attached to outbound requests without validating the host that originally set them.

3

What can be done if patching cannot happen immediately?

Disable cookie handling by setting http.use.cookies to false, or stop transferring the cookie metadata key through metadata.transfer. Either condition prevents the described cookie-handling path from being enabled.

4

How can I check whether my configuration enables the vulnerable behavior?

Review the configuration for http.use.cookies set to true and for the cookie key being listed in metadata.transfer. Be aware that the documented metadata.transfer example names set-cookie, while the metadata key is described as protocol-prefixed, so the documented recipe does not work as written.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203