CVE-2026-68981: Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
Apache NiFi 1.5.0 through 2.10.0 support gzip-encoded HTTP requests for the application REST API using a Jersey encoding filter. The framework enforced a configurable maximum request size on the compressed payload rather than the decompressed output, allowing a malicious client to send crafted requests that could consume excessive amounts of memory. Upgrading to Apache NiFi 2.11.0 is the recommended mitigation, which relocates response compression to Jetty Server and disables decompression of gzip-encoded HTTP requests.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache NiFito a version that resolves this vulnerability.Fixed in 2.11.0Patch CVE-2026-68981 - Configuration
With NiFi 2.11.0, decompression of gzip-encoded HTTP requests is disabled so that a configurable maximum request size is enforced on the compressed payload and decompression cannot cause uncontrolled resource consumption.
Apache NiFi (Jetty Server / REST API compression handling) Disable decompression of gzip-encoded HTTP requests = enabled
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68981?
CVE-2026-68981 has a severity rating of high, with a CVSS score of 8.8.
How do I fix CVE-2026-68981?
To mitigate CVE-2026-68981, ensure you are using an updated version of Apache NiFi beyond 2.10.0 that addresses this vulnerability.
What does CVE-2026-68981 affect?
CVE-2026-68981 affects Apache NiFi versions 1.5.0 through 2.10.0, specifically concerning gzip-encoded HTTP requests.
What type of vulnerability is CVE-2026-68981?
CVE-2026-68981 is a vulnerability related to uncontrolled resource consumption due to improper handling of decompressed HTTP requests.
What are the consequences of exploiting CVE-2026-68981?
Exploiting CVE-2026-68981 can allow a malicious client to consume excessive resources on the server, potentially leading to denial-of-service conditions.