CVE-2026-82445: Apache StormCrawler: Crawled Content Injects Crawler Control Metadata via the SQL Status Store

Published Nov 23, 2026
·
Updated

Description

The SQL status backend serialises per-URL metadata into a single column by concatenating a tabulation, the key, an equals sign and the value, with no escaping. On read-back the string is split on the same two characters, so the round trip is not injective: a value that contains a tabulation returns as one or more additional keys that were never written.

Values on that path are supplied by crawled servers. FetcherBolt records the raw Location header of a redirect as redirTo, and redirTo is part of the default metadata.persist set, so a redirect whose Location contains a tabulation followed by key=value pairs introduces those keys into the crawler's own control metadata on the next scheduling cycle. Several control keys are read without a prefix, so the injected keys are live: http.proxy.host, http.proxy.port, http.proxy.user and http.proxy.pass among them, as well as scheduling and request-shaping keys such as depth, max.depth, crawl.delay, http.content.limit and isSitemap.

Where a proxy manager is configured, the consequence is not limited to corrupted scheduling data. SingleProxyManager.getProxy(Metadata) consults the per-URL metadata first and returns what it finds, so an injected proxy host and port take precedence over the operator's configured proxy and subsequent fetches, together with any configured Authorization header, are routed through a host the crawled content chose. A related defect in AbstractStatusUpdaterBolt compounds this: an injected status.store.as.is.with.nextfetchdate that is not a valid instant escapes the enclosing try/catch and stops the bolt, and because the stored row is replayed the failure repeats.

Deployments using the OpenSearch or Solr status backends are unaffected, because those serialise metadata structurally.

Mitigation

Upgrade to 4.0.0, where the metadata column is written in an escaped form behind a format marker, rows written by earlier versions are still decoded unchanged, and the stored next-fetch-date is parsed defensively.

The fix does not repair rows written before the upgrade. Operators using the SQL status backend should inspect the metadata column of an existing status table for tabulation characters and remove the affected rows, and should assume any proxy credentials configured for the crawl may have been exercised through an attacker-chosen proxy and rotate them. Users who cannot upgrade immediately can remove redirTo from metadata.persist to close the demonstrated path, though other crawled values reaching persisted metadata remain.

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

    If you cannot upgrade immediately, remove `_redirTo` from `metadata.persist`.

    Apache StormCrawler metadata.persist = Exclude `_redirTo`
  3. Operational

    For the SQL status backend, inspect the metadata column of existing status-table rows for tabulation characters and remove the affected persisted metadata; upgrading does not repair rows written by earlier versions.

  4. Operational

    Rotate any proxy credentials configured for the crawl, since they may have been exercised through an attacker-chosen proxy.

Event History

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

Frequently Asked Questions

1

What conditions are required for exploitation?

The crawler must use the SQL status backend and crawl a server that can return a redirect. The redirect Location header must contain a tabulation followed by one or more key=value pairs, which are persisted and interpreted as metadata on the next scheduling cycle.

2

Is a default metadata configuration exposed?

Yes. FetcherBolt stores the raw redirect Location header as _redirTo, and _redirTo is included in the default metadata.persist set. This allows redirect-supplied content to reach the vulnerable SQL metadata serialization path.

3

What metadata can be influenced after injection?

Injected keys can include proxy settings such as http.proxy.host, http.proxy.port, http.proxy.user, and http.proxy.pass. Other live control keys include depth, max.depth, crawl.delay, http.content.limit, and isSitemap.

4

When can this affect proxy routing rather than only crawl behavior?

If a proxy manager is configured, per-URL metadata is consulted by SingleProxyManager.getProxy(Metadata). Injected proxy metadata can therefore affect proxy selection or credentials in addition to corrupting scheduling and request-shaping settings.

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