CVE-2026-25903: Apache NiFi Missing Authorization Of Restricted Permissions Vulnerability

HIGH
Advisory Identifier: GHSA-c5w7-m8wf-xc77
CWE-862
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-25903
GHSA Identifier GHSA-c5w7-m8wf-xc77
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-862: Missing Authorization
Affected Product Apache NiFi
Package Ecosystem Maven
Published Date
Last Updated

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.

org.apache.nifi:nifi-web-api fixed: 2.8.0
<dependency>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-web-api</artifactId>
    <version>2.8.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2026-25903 Affected Apache NiFi Versions

1 component(s)
Fixed Versions:
2.8.0
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?
CVE-2026-25903 is a security vulnerability in Apache NiFi involving Missing Authorization of Restricted Permissions for Component Updates under CWE-862: Missing Authorization.
Which Apache NiFi versions are affected?
Affected versions include releases prior to 2.8.0 across affected packages: org.apache.nifi:nifi-web-api.
What version fixes CVE-2026-25903?
Upgrading to 2.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nifi-web-api affected?
Yes, org.apache.nifi:nifi-web-api is affected in releases prior to 2.8.0. Upgrade your dependency to 2.8.0 or later.
What CWE is associated with CVE-2026-25903?
CVE-2026-25903 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2026-25903?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.nifi'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}