CVE-2026-68981 Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests

High 8.8 Published Updated

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.

PackageAffectedFixed in
nifi BitnamiFrom 1.5.02.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.

All Apache Nifi vulnerabilities

Sources

Also known as BIT-nifi-2026-68981, GHSA-w96g-mj2p-wqjv, MINI-8p3q-3p5f-vx3q.

Is CVE-2026-68981 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free