CVE-2026-25903: Apache NiFi Missing Authorization Of Restricted Permissions Vulnerability
HIGHCVE-2026-25903 is a HIGH missing authorization of restricted permissions vulnerability (CWE-862: Missing Authorization) affecting Apache NiFi libraries in the Maven ecosystem. The issue involves missing authorization of restricted permissions for component updates. Remediation is available by upgrading affected packages to version 2.8.0.
CVE-2026-25903 at a Glance
How to Fix CVE-2026-25903
To remediate this vulnerability, upgrade all affected Apache NiFi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-web-api</artifactId>
<version>2.8.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.nifi
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-25903, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.nifi
Analyze the terminal output to locate any version of Apache NiFi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.nifi command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Apache NiFi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-25903 Affected Apache NiFi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.nifi:nifi-web-api
|
Maven |
≥ 1.1.0
< 2.8.0
|
2.8.0
|
References
Frequently Asked Questions
What is CVE-2026-25903?
Which Apache NiFi versions are affected?
What version fixes CVE-2026-25903?
Is nifi-web-api affected?
What CWE is associated with CVE-2026-25903?
How can I check Maven dependencies for CVE-2026-25903?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c5w7-m8wf-xc77",
"modified" : "2026-02-18T22:39:26Z",
"published" : "2026-02-17T12:31:07Z",
"aliases" : [ "CVE-2026-25903" ],
"summary" : "Apache NiFi: Missing Authorization of Restricted Permissions for Component Updates",
"details" : "Apache NiFi 1.1.0 through 2.7.2 are missing authorization when updating configuration properties on extension components that have specific Required Permissions based on the Restricted annotation. The Restricted annotation indicates additional privileges required to add the annotated component to the flow configuration, but framework authorization did not check restricted status when updating a component previously added. The missing authorization requires a more privileged user to add a restricted component to the flow configuration, but permits a less privileged user to make property configuration changes. Apache NiFi installations that do not implement different levels of authorization for Restricted components are not subject to this vulnerability because the framework enforces write permissions as the security boundary. Upgrading to Apache NiFi 2.8.0 is the recommended mitigation.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:P/AU:Y/R:I/V:C/RE:M/U:Amber"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.nifi:nifi-web-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "2.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25903"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/nifi/commit/119f8881fbc3cbd0d522b0c549b841da3de01f64"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/nifi"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/NIFI-15567"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/jf6bkt9sk6xvshy8xyxv3vtlxd340345"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/02/16/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-18T22:39:26Z",
"nvd_published_at" : "2026-02-17T10:15:57Z"
}
}