GHSA-w96g-mj2p-wqjv
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-accessible NiFi REST API port
-
DeliveryCraft gzip zip-bomb payload below compressed size threshold
-
ExploitSend unauthenticated HTTP request with Content-Encoding: gzip
-
ExecutionJersey filter decompresses payload before size enforcement executes
-
PersistJVM heap exhausted by expanded decompressed output
-
ImpactNiFi 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
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
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.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authe
In Apache Commons Beanutils 1.9.2, a special BeanIntrospector class was added which allows suppressing the ability for a
In Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, the proxy chain serialization/deserialization
Apache NiFi External XML Entity issue in SplitXML processor. Rated critical severity (CVSS 9.8), this vulnerability is r
A flaw was found in jackson-databind before 2.9.10.7. Rated high severity (CVSS 8.1), this vulnerability is remotely exp
Apache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retriev
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
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
Authorization bypass in Apache NiFi 1.10.0 through 2.10.0 allows read-only authenticated users to submit Parameter Conte
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
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
Memory exhaustion in Apache NiFi 2.11.0 allows unauthenticated remote attackers to force excessive memory consumption th
EUVD-2026-52423
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB