CVE-2026-39816: Nifi other graph services nar Apache NiFi Is Missing The Vulnerability

HIGH
Advisory Identifier: GHSA-2j9m-25xv-mp6r
CVSS 8.8
CWE-862
Published
Advisory Summary

CVE-2026-39816 is a HIGH (CVSS 8.8) apache nifi is missing the vulnerability (CWE-862: Missing Authorization) affecting Nifi other graph services nar libraries in the Maven ecosystem. The issue involves apache nifi is missing the restricted annotation with the execute code required permission. Remediation is available by upgrading affected packages to version 2.9.0.

CVE-2026-39816 at a Glance

CVE Identifier CVE-2026-39816
GHSA Identifier GHSA-2j9m-25xv-mp6r
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-862: Missing Authorization
Affected Product Nifi other graph services nar
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-39816

To remediate this vulnerability, upgrade all affected Nifi other graph services nar 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-other-graph-services-nar fixed: 2.9.0
<dependency>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-other-graph-services-nar</artifactId>
    <version>2.9.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-39816, 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 Nifi other graph services nar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.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 Nifi other graph services nar, 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

The optional extension component TinkerpopClientService is missing the Restricted annotation with the Execute Code Required Permission in Apache NiFi 2.0.0-M1 through 2.8.0. The TinkerpopClientService supports configuration of ByteCode Submission for the Script Submission Type, enabling Groovy Script execution in the service prior to submitting the query. The missing Restricted annotation allows users without the Execute Code Permission to configure the Service in installations that use fine-grained authorization and have the optional TinkerpopClientService installed. Apache NiFi installations that do not have the nifi-other-graph-services-nar installed are not subject to this vulnerability. Upgrading to Apache NiFi 2.9.0 is the recommended mitigation.

CVE-2026-39816 Affected Nifi other graph services nar Versions

1 component(s)
Fixed Versions:
2.9.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.nifi:nifi-other-graph-services-nar
Maven
≥ 2.0.0-M1
< 2.9.0
2.9.0

References

Frequently Asked Questions

What is CVE-2026-39816?
CVE-2026-39816 is a security vulnerability in Nifi other graph services nar involving Apache NiFi is missing the Restricted annotation with the Execute Code Required Permission under CWE-862: Missing Authorization.
Which Nifi other graph services nar versions are affected?
Affected versions include releases prior to 2.9.0 across affected packages: org.apache.nifi:nifi-other-graph-services-nar.
What version fixes CVE-2026-39816?
Upgrading to 2.9.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nifi-other-graph-services-nar affected?
Yes, org.apache.nifi:nifi-other-graph-services-nar is affected in releases prior to 2.9.0. Upgrade your dependency to 2.9.0 or later.
What is the CVSS score of CVE-2026-39816?
CVE-2026-39816 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-39816?
CVE-2026-39816 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-39816?
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-2j9m-25xv-mp6r",
  "modified" : "2026-05-14T13:08:02Z",
  "published" : "2026-05-08T15:31:21Z",
  "aliases" : [ "CVE-2026-39816" ],
  "summary" : "Apache NiFi is missing the Restricted annotation with the Execute Code Required Permission",
  "details" : "The optional extension component TinkerpopClientService is missing the Restricted annotation with the Execute Code Required Permission in Apache NiFi 2.0.0-M1 through 2.8.0. The TinkerpopClientService supports configuration of ByteCode Submission for the Script Submission Type, enabling Groovy Script execution in the service prior to submitting the query. The missing Restricted annotation allows users without the Execute Code Permission to configure the Service in installations that use fine-grained authorization and have the optional TinkerpopClientService installed. Apache NiFi installations that do not have the nifi-other-graph-services-nar installed are not subject to this vulnerability. Upgrading to Apache NiFi 2.9.0 is the recommended mitigation.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "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/AU:Y/R:I/V:C/RE:L/U:Green"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.nifi:nifi-other-graph-services-nar"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0-M1"
      }, {
        "fixed" : "2.9.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.8.0"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-39816"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/nifi/pull/11108"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/nifi/commit/72fab7dde74edfd1063b57e87b0334340c1fbe93"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/nifi"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb"
  }, {
    "type" : "WEB",
    "url" : "https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/04/13/8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-14T13:08:01Z",
    "nvd_published_at" : "2026-05-08T14:16:32Z"
  }
}