Description
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.
Published: 2026-08-03
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from Apache NiFi’s handling of gzip‑encoded HTTP requests. The application enforces a maximum size only on the compressed payload, not on the decompressed output. A malicious client can therefore send a small compressed payload that expands to a much larger uncompressed body, forcing NiFi to allocate excessive memory and potentially crash or become unresponsive. This flaw is a classic resource exhaustion weakness (CWE‑409) that can compromise availability but not confidentiality or integrity.

Affected Systems

Apache NiFi versions 1.5.0 through 2.10.0 are affected. Upgrading to version 2.11.0 or later removes the vulnerability by moving response compression to Jetty Server and disabling decompression of gzip‑encoded HTTP requests.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity and a significant risk of denial of service if exploited. EPSS is not available, so the likelihood of exploitation is unknown from the data; however, the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker does not need special privileges or authentication to target the REST API; remote clients can send crafted requests to consume the server’s memory, leading to degraded performance or crashes.

Generated by OpenCVE AI on August 4, 2026 at 20:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache NiFi to version 2.11.0 or later, which removes gzip decompression of HTTP requests and relocates compression handling to Jetty Server.
  • Configure a reverse proxy or firewall (e.g., NGINX, HAProxy) to reject or limit gzip‑encoded HTTP requests before they reach NiFi, thereby preventing large compressed payloads from triggering memory exhaustion.
  • Review and, if possible, enforce a maximum uncompressed request size in NiFi’s configuration or at the application level to ensure a single request cannot consume excessive memory; monitor memory usage and set alerts for anomalous consumption.

Generated by OpenCVE AI on August 4, 2026 at 20:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache nifi
Vendors & Products Apache
Apache nifi

Mon, 03 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
Weaknesses CWE-409
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/S:P/AU:Y/R:U/V:C/RE:M/U:Amber'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-04T19:19:50.310Z

Reserved: 2026-08-01T20:14:23.903Z

Link: CVE-2026-68981

cve-icon Vulnrichment

Updated: 2026-08-04T19:19:47.361Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-03T20:17:29.280

Modified: 2026-08-05T14:59:30.577

Link: CVE-2026-68981

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T21:00:11Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)