GHSA-r2g5-993q-664g
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privileged NiFi user
-
DeliveryIdentify writable Process Group
-
ExploitCraft replacement flow with Restricted component
-
InstallSubmit Process Group replace request
-
C2Framework skips Restricted authorization check
-
ExecuteRestricted processor instantiates and executes
-
ImpactCode execution as NiFi service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must hold an authenticated NiFi account with 'write' permission on at least one Process Group, and the target NiFi installation must be on the 1.12.0-2.8.x line with Restricted-component authorization policies actually configured (per the advisory, installations that do not implement Restricted-component authorization are not subject to this vulnerability because plain write permission is already the boundary). Exploitation is limited by the Process Group replace API being reachable over the network and by the attacker needing to author a flow definition containing a Restricted extension component; no user interaction by another operator is required, and exploitation works against default behavior of the framework on affected versions whenever Restricted policies are in use. |
| Impact | The vendor-supplied CVSS 4.0 vector rates this 7.5 (PR:H, AT:P, network attack vector, full vulnerable-system C/I/A impact), which already accounts for two meaningful gating factors: an authenticated account with write permissions and a deployment that actually configures Restricted-component policies. The description explicitly notes that installations without Restricted-component authorization are not affected, so the population of vulnerable instances is a subset of all NiFi deployments - closer to mature, hardened environments that rely on Restricted policies as a privilege boundary. No EPSS score, KEV listing, or public POC has been provided, so observed exploitation pressure appears low; however the impact (loading arbitrary Restricted components such as ExecuteScript-class processors) is effectively remote code execution as the NiFi service account, making this a high-priority patch for any deployment that uses Restricted-component policies as a tenancy or least-privilege boundary. The PR:H assessment from the vendor is conservative - 'general write access' arguably fits PR:L - so defenders should treat the privilege requirement as 'an authenticated NiFi user with any write permission' rather than 'admin'. |
| Exploit ScenarioDerived | An authenticated NiFi user with write access to a Process Group - for example a dataflow developer in a multi-tenant cluster - crafts a replacement Process Group definition that includes a Restricted component such as ExecuteScript or a custom processor that interacts with the host file system. They submit it through the Process Group replace API, the framework skips the Restricted-annotation authorization check, and the new component runs as the NiFi service account, yielding command execution on the host. No public exploit code has been identified at time of analysis, but the attack requires only standard NiFi REST API calls. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 22, 2026
Authorization bypass in Apache NiFi 1.12.0 through 2.9.0 allows authenticated users with general write access to add Restricted-annotated extension components when replacing Process Groups, despite lacking the explicit Restricted-component privilege. The flaw stems from the framework failing to enforce Restricted-annotation checks during Process Group replacement, effectively letting privileged-component installation bypass its intended authorization boundary. No public exploit identified at time of analysis and the vulnerability is not listed in CISA KEV.
Earlier versions of this analysis (2)
Authorization bypass in Apache NiFi 1.12.0 through 2.9.0 allows an authenticated user with general write privileges to introduce Restricted extension components by replacing a Process Group, sidestepping the additional permission check normally enforced for components carrying the Restricted annotation. Affected installations are those that rely on Restricted-component authorization as a privilege boundary beyond standard write permissions. No public exploit identified at time of analysis and the issue is not present in CISA KEV.
Missing authorization in Apache NiFi's Process Group replacement flow allows authenticated users with only general write access to install extension components bearing the Restricted annotation - components that normally require explicitly elevated privileges. Affected are all NiFi deployments running versions 1.12.0 through 2.9.0 that have configured Restricted component authorization as a security boundary. No public exploit code exists and the vulnerability is not in CISA KEV at time of analysis, but the finding originates from NATO's Cyber Security Centre, indicating structured security review rather than opportunistic discovery.
RemediationAI
Vendor-released patch: upgrade to Apache NiFi 2.9.0, which removes the framework's Restricted-status authorization model and shifts the boundary to standard write permissions (see https://nifi.apache.org/ and the NIFI-15845 issue at https://issues.apache.org/jira/browse/NIFI-15845). Because the fix removes Restricted-component authorization entirely rather than adding the missing check, operators who previously relied on Restricted policies to separate trusted from semi-trusted users must redesign access control before or during the upgrade - typically by tightening component-level write policies, segmenting users into separate Process Groups with distinct write permissions, or moving sensitive extension components onto dedicated NiFi clusters. As a pre-upgrade compensating control, audit and revoke 'modify the component' or Process Group write permissions for any user who should not be able to instantiate Restricted components, and monitor flow-change provenance events for unexpected ExecuteScript, ExecuteProcess, or similar Restricted processors being added via Process Group replace operations; the trade-off is reduced self-service for legitimate dataflow authors.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache NiFi is a JVM-based dataflow automation platform that supports pluggable processors and controller services via extension components. The framework uses an @Restricted annotation to mark components that require additional privileges (for example, components that execute scripts or access the host file system), and operators can configure granular policies that restrict who may instantiate them. CWE-862 (Missing Authorization) applies because the Process Group replacement code path checks general write permissions on the target group but omits the Restricted-status check, so the security control is simply not invoked on that endpoint. CPE coverage is limited to cpe:/a:apache:nifi versions 1.12.0 up to (but not including) 2.9.0 across the affected branch.
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:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/S:P/AU:Y/R:U/V:C/RE:L/U:Clear
Network-reachable REST API with authenticated low-privileged write user (PR:L); AC:H because the target must have Restricted-component authorization configured; full impact via arbitrary Restricted-processor execution.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Blast Radius
ecosystem impact- 5 maven packages depend on org.apache.nifi:nifi-web-api (2 direct, 3 indirect)
Ecosystem-wide dependent count for version 1.12.0.
Executive ViewAI
Apache NiFi versions 1.12.0 through 2.9.0 contain an authorization bypass vulnerability allowing authenticated users to bypass Restricted-component privilege controls when replacing Process Groups, creating a privilege escalation risk where insiders could deploy unauthorized components and compromise data pipeline integrity.
No vendor-released patch identified at time of analysis. Implement: (1) Revoke Restricted-component privileges from all but essential administrators; (2) Enable and monitor detailed NiFi audit logs for Process Group replacement operations; (3) Implement privileged access management (PAM) controls for NiFi administrative functions; (4) Restrict network access to NiFi administrative interfaces; (5) Conduct quarterly reviews of NiFi RBAC configurations.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
Uncontrolled decompression in Apache NiFi 1.5.0 through 2.10.0 exposes the REST API to unauthenticated denial-of-service
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
EUVD-2026-38219
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB