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.
Fix
Public exploits 1
- ZeroPathAI/nifi-CVE-2026-39816-poc PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 1
- https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb Mailing List, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · apacheNVD modified 2026-10-26 19:10
Affected (CPE criteria) 1
cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*
References 3
- https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb Mailing List, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/04/13/8 Mailing List, Third Party Advisory
- https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce