AI and data stack advisories

1 critical this month · 294 projects

Apache StormCrawler: information disclosure

Apache Software Foundation

CVE-2026-82444 · Published Nov 24, 2026 · updated Nov 25, 2026

Medium4.9
Fix: upgrade to 4.0.0 or later

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...

Affected versions

PackageAffectedFixed in
Apache StormCrawler
Product
>= 3.0.0, < 4.0.04.0.0
Details and references

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.

CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Severity from
CISA (its enrichment of the CVE record)
Weakness
CWE-201

More Apache Software Foundation advisories

All Apache Software Foundation
CVE-2026-86154Nov 24Apache Jena: stack buffer overflowA vulnerability in Apache Jena allows arbitrary stack usage when parsing RDF Turtle-family languages. This issue affects Apache Jena: through 6.2.0. Users are recommended to upgrade to version 6.3.UnratedNo fix yetCVE-2026-86155Nov 24Apache Jena Fuseki: server-side request forgeryA vulnerability in Apache Jena Fuseki in the SHACL validation functionality cause server side request forgery (SSRF). This issue affects Apache Jena Fuseki: through 6.2.0.Critical10.0No fix yetCVE-2026-86156Nov 24Apache Jena Fuseki: path traversalImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') can allow SPARQL Update to access data from local server. This issue affects Apache Jena Fuseki through 6.2.0.Medium4.0No fix yetCVE-2026-129959Nov 24Apache Karaf: privilege escalationWhen sftpEnabled=true (the default configuration in etc/org.apache.karaf.shell.cfg), the SSH server exposes the karaf.High8.8No fix yetCVE-2026-124324Nov 24Apache Jena Fuseki: improper privilege managementA vulnerability in Apache Jena Fuseki allows SERVICE operations to bypass restrictions on administration operations. This issue affects Apache Jena Fuseki: from through 6.2.0.UnratedNo fix yetCVE-2026-120502Nov 24Apache Jena: unsafe deserializationA vulnerability in Apache Jena can cause excess memory allocation from malicious Thrift data. This issue affects Apache Jena: through 6.2.0. Users are recommended to upgrade to version 6.3.High7.5No fix yet