{"affected":[{"defaultStatus":"unaffected","ecosystem":"maven","packageName":"org.apache.stormcrawler:stormcrawler-sql","product":"Apache StormCrawler","source":"CNA: apache","vendor":"Apache Software Foundation","versions":[{"lessThan":"4.0.0","status":"affected","version":"3.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-82445","cwes":["CWE-915"],"description":"Description\n\nThe SQL status backend serialises per-URL metadata into a single column by concatenating a tabulation,\nthe key, an equals sign and the value, with no escaping. On read-back the string is split on the same\ntwo characters, so the round trip is not injective: a value that contains a tabulation returns as one\nor more additional keys that were never written.\n\nValues on that path are supplied by crawled servers. `FetcherBolt` records the raw `Location` header of\na redirect as `_redirTo`, and `_redirTo` is part of the default `metadata.persist` set, so a redirect\nwhose `Location` contains a tabulation followed by `key=value` pairs introduces those keys into the\ncrawler's own control metadata on the next scheduling cycle. Several control keys are read without a\nprefix, so the injected keys are live: `http.proxy.host`, `http.proxy.port`, `http.proxy.user` and\n`http.proxy.pass` among them, as well as scheduling and request-shaping keys such as `depth`,\n`max.depth`, `crawl.delay`, `http.content.limit` and `isSitemap`.\n\nWhere a proxy manager is configured, the consequence is not limited to corrupted scheduling data.\n`SingleProxyManager.getProxy(Metadata)` consults the per-URL metadata first and returns what it finds,\nso an injected proxy host and port take precedence over the operator's configured proxy and subsequent\nfetches, together with any configured `Authorization` header, are routed through a host the crawled\ncontent chose. A related defect in `AbstractStatusUpdaterBolt` compounds this: an injected\n`status.store.as.is.with.nextfetchdate` that is not a valid instant escapes the enclosing try/catch and\nstops the bolt, and because the stored row is replayed the failure repeats.\n\nDeployments using the OpenSearch or Solr status backends are unaffected, because those serialise\nmetadata structurally.\n\nMitigation\n\nUpgrade to 4.0.0, where the metadata column is written in an escaped form behind a format marker, rows\nwritten by earlier versions are still decoded unchanged, and the stored next-fetch-date is parsed\ndefensively.\n\nThe fix does not repair rows written before the upgrade. Operators using the SQL status backend should\ninspect the metadata column of an existing status table for tabulation characters and remove the\naffected rows, and should assume any proxy credentials configured for the crawl may have been exercised\nthrough an attacker-chosen proxy and rotate them. Users who cannot upgrade immediately can remove\n`_redirTo` from `metadata.persist` to close the demonstrated path, though other crawled values reaching\npersisted metadata remain.\n\nCredit\n\nIndependently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept.\n\nAlso found by the ASF -- using Claude agents to study the security of open-source projects, validated\nand reported by Apache StormCrawler.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1795533282330,"publishedAt":1795516757246,"references":[{"source":"CNA: apache","tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/mt2623d6k6v7xqdmgsko04qqs4ffrgt5"},{"source":"ADP: CVE","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/23/23"},{"source":"security@apache.org","tags":[],"url":"https://lists.apache.org/thread/mt2623d6k6v7xqdmgsko04qqs4ffrgt5"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/23/23"}],"remediation":[],"revision":"f237b7f65401cf94a432844dcc56bed4f7218b861363ef81cd548db47e747466","sources":[{"modifiedAt":1795518825211,"name":"CNA: apache","retrievedAt":1795522197198,"url":"https://www.cve.org/CVERecord?id=CVE-2026-82445"},{"modifiedAt":1795533282330,"name":"NVD","retrievedAt":1795544329140,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82445"}],"ssvc":null,"status":"published","title":"Apache StormCrawler: Crawled Content Injects Crawler Control Metadata via the SQL Status Store","updatedAt":1795544329140}