Vulnerabilities in pkg:maven/org.apache.nifi/nifi-other-graph-services-nar
PACKAGECVE-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.
pkg:maven/org.apache.nifi/nifi-other-graph-services-nar
Vulnerability advisories affecting package pkg:maven/org.apache.nifi/nifi-other-graph-services-nar. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2j9m-25xv-mp6r | CVE-2026-39816 | HIGH | Apache NiFi is missing the Restricted annotation with the Execute Code Required Permission |
CVE-2026-39816 at a Glance
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).
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.
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-other-graph-services-nar</artifactId>
<version>2.9.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-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
CVE-2026-39816 Affected Nifi other graph services nar Versions
1 component(s)| 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?
Which Nifi other graph services nar versions are affected?
What version fixes CVE-2026-39816?
Is nifi-other-graph-services-nar affected?
What is the CVSS score of CVE-2026-39816?
What CWE is associated with CVE-2026-39816?
How can I check Maven dependencies for CVE-2026-39816?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}