CVE-2026-82445 in StormCrawler
Summary
by MITRE • 11/24/2026
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.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/27/2026
The vulnerability in question is a critical injection flaw within the SQL status backend of Apache StormCrawler, specifically affecting how per-URL metadata is serialized and deserialized for storage. The core technical defect lies in the serialization mechanism, which concatenates tabulation characters, keys, equals signs, and values into a single database column without any form of escaping or structural encoding. This design choice creates a non-injective round-trip process where special characters within values can be misinterpreted as delimiters during deserialization. When data is read back from the database, the system splits the string based on tabs and equals signs, meaning that if a stored value contains a tabulation followed by key-value pairs, those sequences are parsed as distinct metadata keys rather than being treated as part of the original value. This fundamental lack of input sanitization allows for arbitrary data injection into the crawler's internal state management system through crafted responses from crawled web servers.
The operational impact is severe because it enables remote code execution-like control over the crawler’s configuration and behavior without direct access to the application server. The vulnerability is triggered when a fetched URL returns an HTTP redirect with a Location header containing maliciously crafted content, specifically tabulations followed by key-value pairs. Since the FetcherBolt component records these raw headers into the _redirTo field, which is included in the default metadata persistence set, attackers can inject arbitrary control keys directly into the crawler’s operational context. These injected keys are not merely cosmetic; they override legitimate configuration settings because many critical parameters such as http.proxy.host, http.proxy.port, http.proxy.user, and http.proxy.pass are read without requiring a specific prefix to distinguish them from other metadata fields. Consequently, an attacker can manipulate scheduling behaviors by injecting keys like depth or max.depth, alter request shaping via crawl.delay, or force the crawler to treat injected content as sitemaps through isSitemap flags.
A particularly dangerous consequence arises when proxy management features are enabled within the deployment architecture. The SingleProxyManager.getProxy method prioritizes per-URL metadata over global configuration settings. Therefore, if an attacker successfully injects a malicious http.proxy.host and http.proxy.port into the metadata via the aforementioned injection vector, subsequent fetches will be routed through a server controlled by the attacker rather than the organization’s designated proxy infrastructure. This redirection compromises data confidentiality and integrity as all crawled content is exfiltrated to the adversary's endpoint. Furthermore, because these requests may include configured Authorization headers containing sensitive credentials, those secrets are transmitted directly to the malicious proxy, leading to potential credential theft and further lateral movement within the target network environment.
The severity of this vulnerability is compounded by a related defect in the AbstractStatusUpdaterBolt component that affects system stability and availability. If an attacker injects a malformed value for status.store.as.is.with.nextfetchdate that cannot be parsed as a valid instant, it escapes standard error handling mechanisms within the try-catch block. This causes the bolt to crash repeatedly because the corrupted row is replayed during subsequent scheduling cycles. This creates a persistent denial-of-service condition where the crawler service becomes unstable and unresponsive until manual intervention occurs. Unlike deployments using OpenSearch or Solr backends which serialize metadata structurally and are thus immune to this text-based parsing flaw, SQL backend users face both confidentiality risks through proxy hijacking and availability risks through application crashes.
From a classification perspective, this vulnerability aligns with CWE-94 Improper Control of Generation of Code (Code Injection) due to the injection of executable configuration logic via data fields, as well as CWE-20 Improper Input Validation for the failure to sanitize special characters in user-controlled input derived from external sources. In terms of MITRE ATT&CK mapping, this represents a classic case of Supply Chain Compromise or Data Manipulation where an attacker leverages trusted application behavior to inject malicious configuration parameters, effectively achieving Remote Code Execution capabilities through configuration manipulation rather than traditional code injection techniques. The attack vector is classified as Network-based since it requires the crawler to interact with a hostile web server that returns crafted HTTP headers.
Mitigation strategies require immediate action for organizations utilizing the SQL status backend. The primary remediation involves upgrading to version 4.0.0, which implements escaped serialization behind a format marker and includes defensive parsing logic for date fields to prevent crashes from malformed data. However, simply upgrading does not automatically repair existing corrupted rows in the database that were written by earlier vulnerable versions. Operators must manually inspect their status tables for tabulation characters within metadata columns and remove any affected rows to ensure clean state management. Additionally, it is imperative to assume that all proxy credentials configured during the period of vulnerability exposure may have been compromised through attacker-controlled proxies; therefore, these credentials should be rotated immediately to prevent unauthorized access using stolen tokens or passwords.
For deployments unable to upgrade immediately due to operational constraints, a temporary mitigation involves modifying the configuration to remove _redirTo from the metadata.persist set. This action closes the specific demonstrated attack path by preventing redirect headers from being persisted into the vulnerable SQL column. While this mitigates the immediate risk of proxy hijacking and scheduling manipulation via redirects, it does not address other potential injection vectors where crawled values might still reach persisted metadata through different fields. Organizations should monitor for any anomalies in crawler behavior or unexpected network connections indicative of successful exploitation before full remediation can be achieved. The vulnerability was independently reported by n0mi1k with a proof of concept and also identified by the Apache Software Foundation using automated agents, highlighting the importance of rigorous security testing in open-source projects.