Skip to main content

Apache NiFi CVE-2026-68981

| EUVDEUVD-2026-52423 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
8.8
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-accessible NiFi REST API port
  2. Delivery
    Craft gzip zip-bomb payload below compressed size threshold
  3. Exploit
    Send unauthenticated HTTP request with Content-Encoding: gzip
  4. Execution
    Jersey filter decompresses payload before size enforcement executes
  5. Persist
    JVM heap exhausted by expanded decompressed output
  6. Impact
    NiFi service crashes or becomes unresponsive

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
Exploitation Conditions

The vulnerable decompression path is activated by any HTTP request to the NiFi REST API that includes a Content-Encoding: gzip header with a compressed body. This functionality is enabled by default in all NiFi versions 1.5.0 through 2.10.0 via the Jersey encoding filter and requires no special server-side configuration. No authentication is required - the CVSS 4.0 vector confirms PR:N, meaning any client able to reach the REST API port can trigger the condition. Exploitation is bounded by network reachability: deployments where the NiFi REST API port is restricted by firewall rules, VPN, or network segmentation to trusted hosts are not directly exposed to external attackers. The existing configurable maximum request size setting does not limit exploitation because it measures compressed size prior to decompression, which is precisely the flawed enforcement ordering this vulnerability exploits.

Impact

The CVSS 4.0 base score of 8.8 reflects a high-risk, unauthenticated, network-accessible attack with low complexity and no user interaction (AV:N/AC:L/AT:N/PR:N/UI:N) resulting in high availability impact (VA:H). The supplemental vector strengthens real-world priority: the attack is rated Automatable (AU:Y), meaning it can be scripted and replayed without human-in-the-loop steps; Recovery is rated User (R:U), implying service restoration requires operator intervention rather than automatic recovery; and Value Density is Concentrated (V:C), reflecting that a single NiFi node typically acts as a high-value central data integration hub. No CISA KEV listing exists and no POC has been identified, reducing the likelihood of opportunistic mass exploitation at this time. However, the zero-prerequisite attack path makes this a clear patch priority for any organization with NiFi REST API ports reachable from untrusted networks. One signal inconsistency to flag: the provided CVSS 4.0 vector includes VC:L and VI:L, and the intelligence tags reference Information Disclosure, yet the vulnerability description documents only memory exhaustion with no confidentiality or integrity mechanism described. This gap should be confirmed against the vendor advisory before assessing the full impact scope.

Exploit ScenarioDerived

An unauthenticated attacker with network access to the NiFi REST API sends an HTTP POST or PUT request containing a gzip-compressed body crafted as a zip bomb - a payload that compresses at a ratio of 1000:1 or greater while remaining under the configured compressed-size limit. Because the Jersey filter decompresses the payload before the size check is evaluated, the NiFi JVM is forced to allocate heap memory proportional to the decompressed output, potentially hundreds of megabytes or gigabytes per request. Repeated requests, or a single sufficiently large bomb, exhaust available heap and trigger an OutOfMemoryError, taking the NiFi service offline. No public exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 03, 2026

Uncontrolled decompression in Apache NiFi 1.5.0 through 2.10.0 exposes the REST API to unauthenticated denial-of-service attacks via crafted gzip payloads. The Jersey encoding filter enforces its configurable size limit against the compressed form of the request body rather than the decompressed output, enabling a classic zip-bomb condition that can exhaust JVM heap memory. No public exploit has been identified at time of analysis, but the CVSS 4.0 supplemental metadata flags the attack as automatable (AU:Y) with Amber utility, indicating meaningful real-world risk against organizations with network-accessible NiFi REST API endpoints.

Earlier versions of this analysis (1)
v1 Aug 03, 2026 - 20:16

Uncontrolled resource consumption in Apache NiFi 1.5.0 through 2.10.0 allows remote attackers to exhaust server memory via crafted gzip-encoded HTTP requests to the REST API. The Jersey encoding filter enforced the configurable size limit against the compressed payload rather than the decompressed output, making the server susceptible to a classic decompression bomb attack. No public exploit has been identified and the vulnerability is not listed in CISA KEV, but the attack technique is trivially replicable and the fix is available in NiFi 2.11.0.

RemediationAI

Upgrade to Apache NiFi 2.11.0, the vendor-confirmed fix version per the oss-security advisory at https://seclists.org/oss-sec/2026/q3/399 and Apache Jira NIFI-16152. The upgrade removes the Jersey gzip decoding filter and moves compression to Jetty Server with correct post-decompression size enforcement, fully eliminating the vulnerable code path. If an immediate upgrade is not feasible, deploy a reverse proxy or WAF in front of the NiFi REST API configured to strip or reject inbound Content-Encoding: gzip headers - note this will break any legitimate clients that send compressed request bodies, so client impact must be assessed. Network-level access controls that restrict REST API port access (default 8080 or 8443) to trusted IP ranges reduce exposure but do not eliminate the vulnerability for authorized internal clients. Adjusting the existing NiFi configurable maximum request size setting is not an effective workaround because it evaluates the compressed payload size before decompression occurs.

Affected VersionsENISA

Apache NiFi 1.5.0 ≤2.10.0

Affected Packages

euvd apache_nifi no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache NiFi's REST API is built on the Jersey (JAX-RS) framework and includes a gzip encoding filter that transparently decompresses inbound HTTP request bodies bearing a Content-Encoding: gzip header. The root cause is CWE-409 (Improper Handling of Highly Compressed Data): the application's configurable maximum request size guard evaluates the compressed payload size prior to decompression, not after. This ordering allows an attacker to craft a zip-bomb-a small compressed body that expands at an extreme ratio during decompression-bypassing the size guard entirely and forcing the JVM to allocate heap proportional to the decompressed output. The fix in version 2.11.0 removes the Jersey decompression filter and migrates compression handling to Jetty Server, which enforces limits post-decompression and disables gzip decoding of inbound requests entirely, eliminating the attack surface at the framework level.

Know when Nifi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 8.8 HIGH
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
vuln.today AI 7.5 HIGH

Unauthenticated network access to a default-enabled REST API endpoint; impact is availability-only per the description; confidentiality and integrity impacts are not substantiated by the documented behavior.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Aug 03, 2026 - 20:29 vuln.today
v2 - CVSS changed
CVSS changed
Aug 03, 2026 - 20:22 NVD
8.8 (HIGH)
CVE Published
Aug 03, 2026 - 19:58 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

Apache NiFi REST API (versions 1.5.0-2.10.0) is vulnerable to unauthenticated denial-of-service attacks that can exhaust JVM memory and crash the service through crafted gzip-compressed payloads. This affects any organization with network-accessible NiFi deployments and poses immediate risk to data pipeline continuity. The attack requires no authentication, making it a significant operational threat to enterprises relying on NiFi for critical data integration and ingestion.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict REST API endpoint access via network segmentation or WAF rules to authorized sources only; implement rate limiting and compressed request size caps at the load balancer layer; configure JVM heap limits and deploy monitoring for memory exhaustion events; activate IDS/IPS signatures detecting oversized gzip payloads. Establish vendor monitoring for patch release and prepare upgrade procedures to deploy immediately when available.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
widely deployed enterprise data integration and ETL flow management platform
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Nifi

View all
CVE-2023-34468 HIGH POC
8.8 Jun 12

The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authe

CVE-2019-10086 HIGH
7.3 Aug 20

In Apache Commons Beanutils 1.9.2, a special BeanIntrospector class was added which allows suppressing the ability for a

CVE-2017-5636 CRITICAL
9.8 Oct 19

In Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, the proxy chain serialization/deserialization

CVE-2018-1309 CRITICAL
9.8 May 23

Apache NiFi External XML Entity issue in SplitXML processor. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2021-20190 HIGH
8.1 Jan 19

A flaw was found in jackson-databind before 2.9.10.7. Rated high severity (CVSS 8.1), this vulnerability is remotely exp

CVE-2023-36542 HIGH
8.8 Jul 29

Apache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retriev

CVE-2022-33140 HIGH
8.8 Jun 15

The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not ne

CVE-2019-12421 HIGH
8.8 Nov 19

When using an authentication mechanism other than PKI, when the user clicks Log Out in NiFi versions 1.0.0 to 1.9.2, NiF

CVE-2026-62354 HIGH
7.7 Aug 03

Authorization bypass in Apache NiFi 1.10.0 through 2.10.0 allows read-only authenticated users to submit Parameter Conte

CVE-2017-5635 HIGH
7.5 Oct 19

In Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, if an anonymous user request is replicated to

CVE-2017-7667 HIGH
7.5 Jun 12

Apache NiFi before 0.7.4 and 1.x before 1.3.0 need to establish the response header telling browsers to only allow frami

CVE-2026-70469 HIGH
7.5 Sep 16

Memory exhaustion in Apache NiFi 2.11.0 allows unauthenticated remote attackers to force excessive memory consumption th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy