CVE-2026-68981 Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
Attackers can cause excessive memory consumption and denial of service in Apache NiFi by sending crafted gzip-encoded HTTP requests to the REST API.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-68981?
CVE-2026-68981 is a high-severity denial of service vulnerability in Apache Nifi, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-409
Which versions are affected by CVE-2026-68981?
1 open source package ship an affected version, including nifi. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nifi Bitnami | From 1.5.0 | 2.11.0 |
Products include Apache Nifi.
How do I fix CVE-2026-68981?
Upgrade nifi to 2.11.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-68981 being exploited?
There is no known exploitation of CVE-2026-68981 in the wild and no public exploit code.
Other vulnerabilities in Apache Nifi
- CVE-2018-1309 Improper Restriction of XML External Entity Reference in Apache NiFi
- CVE-2017-15697 Apache NiFi XSS issue in context path handling
- CVE-2017-5636 Injection in Apache NiFi
- CVE-2023-36542 Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
- CVE-2023-34468 Apache NiFi: Potential Code Injection with Database Services using H2
Sources
Also known as BIT-nifi-2026-68981, GHSA-w96g-mj2p-wqjv, MINI-8p3q-3p5f-vx3q.