CVE-2026-39816: Apache NiFi is missing the Restricted annotation with the Execute Code Required Permission
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.
Published May 8, 2026 · Updated May 14, 2026
Affected packages
org.apache.nifi:nifi-other-graph-services-nar
- Ecosystem
- Maven
- Affected
- >= 2.0.0-M1, <= 2.8.0
- Fixed in
- 2.9.0
- Check
mvn dependency:tree -Dincludes=org.apache.nifi:nifi-other-graph-services-nar
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-39816
- https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb
- https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce
- https://github.com/apache/nifi/pull/11108
- https://github.com/apache/nifi/commit/72fab7dde74edfd1063b57e87b0334340c1fbe93
- https://github.com/advisories/GHSA-2j9m-25xv-mp6r
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
