Skip to content
CVE PROGRAM SOURCE RECORD4.3 Medium

CVE-2026-133535

Hawtio: hawtio-systems: quadratic redos in flightrecordingdownloadfacade request-uri pattern

Read JSON ↗CVE.org ↗

Description

A flaw was found in Hawtio. An authenticated remote attacker can cause a Denial of Service (DoS) by sending a specially crafted request URI to monitored endpoints. The FlightRecordingDownloadFacade servlet filter uses an inefficient regular expression pattern that causes catastrophic backtracking when processing certain long requests. This issue leads to excessive CPU utilization, causing handling threads to hang and degrading service availability.

Remediation guide

Fix CVE-2026-133535 in the tested Hawtio source

Guide updated .

Anchor the FlightRecordingDownloadFacade request-URI expression so matching starts at the beginning of the input. Apply the patch to the tested source revision and reconcile it against the exact vendor build before deployment.

Applicability

Item Tested scope
Source Upstream commit 806d0550781bf14d22baf9cbe7aa8256efb28875. Red Hat lists hawtio-system in AMQ Broker 7, Camel HawtIO 4 and Fuse 7 with Fix deferred; this does not identify a supported fixed vendor release.
Changed paths hawtio-system/src/main/java/io/hawt/web/filters/FlightRecordingDownloadFacade.java
Prerequisites Linux x86-64, bash, curl, tar, Git, sha256sum and Node 24. The commands obtain Java 21 and the declared Servlet 5.0.0 and Jolokia JSON 2.6.5 dependencies; compilation targets Java 17.

This patch was created and tested by Casco.

Download and apply

Use a new disposable directory. These commands verify downloads before applying or executing them. Do not apply the patch blindly to another revision.

File SHA-256
HawtioUriRegression.java 27292fa0d75dbb3ada9b6a4cad35c4896597ecae7c1951eed0e2a70f9660cc1c
run-regressions.sh 3a35ae8500b87277f267a05c9a5e8abc7f1aed138bf6c56024d9996f0be9b496
hawtio-uri-matching.patch 5489c553c80c24122cc118c12e6504186b3f0f95a7a2f7fc8e57cdd715175fae
set -eu
mkdir cve-2026-133535-verification
cd cve-2026-133535-verification
curl -fL 'https://casco.com/cve/artifacts/CVE-2026-133535/27292fa0d75dbb3ada9b6a4cad35c4896597ecae7c1951eed0e2a70f9660cc1c/HawtioUriRegression.java.txt' -o 'HawtioUriRegression.java'
printf '%s  %s\n' '27292fa0d75dbb3ada9b6a4cad35c4896597ecae7c1951eed0e2a70f9660cc1c' 'HawtioUriRegression.java' | sha256sum -c -
curl -fL 'https://casco.com/cve/artifacts/CVE-2026-133535/3a35ae8500b87277f267a05c9a5e8abc7f1aed138bf6c56024d9996f0be9b496/run-regressions.sh.txt' -o 'run-regressions.sh'
printf '%s  %s\n' '3a35ae8500b87277f267a05c9a5e8abc7f1aed138bf6c56024d9996f0be9b496' 'run-regressions.sh' | sha256sum -c -
curl -fL 'https://casco.com/cve/artifacts/CVE-2026-133535/5489c553c80c24122cc118c12e6504186b3f0f95a7a2f7fc8e57cdd715175fae/hawtio-uri-matching.patch' -o 'hawtio-uri-matching.patch'
printf '%s  %s\n' '5489c553c80c24122cc118c12e6504186b3f0f95a7a2f7fc8e57cdd715175fae' 'hawtio-uri-matching.patch' | sha256sum -c -
curl -fL 'https://codeload.github.com/hawtio/hawtio/tar.gz/806d0550781bf14d22baf9cbe7aa8256efb28875' -o source.tar.gz
printf '%s  %s\n' '6da80b63e8ec6f0eb95001dd048e9144f7a306ad403dce3aedce65babf0b1879' 'source.tar.gz' | sha256sum -c -
mkdir source
tar -xzf source.tar.gz -C source --strip-components=1
curl -fL 'https://corretto.aws/downloads/resources/21.0.13.1.2/amazon-corretto-21.0.13.1.2-linux-x64.tar.gz' -o jdk.tar.gz
printf '%s  %s\n' '2aaa2a9a43143b20ff0b28c8d0da27407b97dc40b160d9a2f60a26965815e948' 'jdk.tar.gz' | sha256sum -c -
mkdir jdk
tar -xzf jdk.tar.gz -C jdk --strip-components=1
mkdir lib
curl -fL 'https://repo.maven.apache.org/maven2/jakarta/servlet/jakarta.servlet-api/5.0.0/jakarta.servlet-api-5.0.0.jar' -o lib/servlet.jar
printf '%s  %s\n' '33d3a5bda82c7d2f1b898685faa954f1fc34f7b0ae5c2f6ccc6d051e8a10973b' lib/servlet.jar | sha256sum -c -
curl -fL 'https://repo.maven.apache.org/maven2/org/jolokia/jolokia-json/2.6.5/jolokia-json-2.6.5.jar' -o lib/jolokia-json.jar
printf '%s  %s\n' '38b1137af465ce836b78ed6beae749dc9668e6d4da527134e563069bf27794e5' lib/jolokia-json.jar | sha256sum -c -
set +e
HAWTIO_JDK_BIN="$PWD/jdk/bin" bash run-regressions.sh ./source ./lib/servlet.jar ./lib/jolokia-json.jar original original.json
baseline_status=$?
set -e
test "$baseline_status" -eq 1
node -e "const r=require('./original.json');if(r.passed!==12||r.failed!==3)process.exit(1)"
git -C source apply --check ../hawtio-uri-matching.patch
git -C source apply ../hawtio-uri-matching.patch
HAWTIO_JDK_BIN="$PWD/jdk/bin" bash run-regressions.sh ./source ./lib/servlet.jar ./lib/jolokia-json.jar patched patched.json
node -e "const r=require('./patched.json');if(r.passed!==15||r.failed!==0)process.exit(1)"

Validation

Fresh public-download verification compiled and exercised the actual Java handler. The original passed 12/15 bounded logic checks; the patch passed 15/15. Patch application passed. These were ordinary-path and matcher-contract checks, not a load test or a measured denial-of-service benchmark.

Deployment and rollback

Verify recordings download correctly and reconcile source/API differences in the deployed Hawtio distribution. Full product/server integration, vendor packaging and production were not tested. Keep the previous source, built package and backups. To reverse this exact patch after checking applicability:

git -C source apply -R ../hawtio-uri-matching.patch

A rollback restores the earlier code; verify the staging result before any production rollout.

Evidence

Primary advisory or CVE record. Structured CVE record. Validation was repeated from anonymous public source/artifact downloads on November 23, 2026; The scoped results above do not establish full application or production acceptance.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Red Hat Red Hat AMQ Broker 7

Default version status: affected

Red Hat Red Hat build of Apache Camel - HawtIO 4

Default version status: affected

Red Hat Red Hat Fuse 7

Default version status: affected

References