Apache NiFi: Missing Execute Code Required Permission on TinkerpopClientService
Title source: cnaExploitation Summary
EIP tracks 2 public exploits for CVE-2026-39816. PoCs published by adminlove520, ZeroPathAI.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-39816, demonstrating an EXECUTE_CODE permission bypass in Apache NiFi via TinkerpopClientService. The PoC authenticates as a user without EXECUTE_CODE permissions, creates a malicious ExecuteGraphQuery processor with a Groovy payload, and spawns a reverse shell.
Description
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.
Exploits (2)
This repository contains a functional exploit for CVE-2026-39816, demonstrating an EXECUTE_CODE permission bypass in Apache NiFi via TinkerpopClientService. The PoC authenticates as a user without EXECUTE_CODE permissions, creates a malicious ExecuteGraphQuery processor with a Groovy payload, and spawns a reverse shell.
This repository contains a functional exploit for CVE-2026-39816, demonstrating an EXECUTE_CODE permission bypass in Apache NiFi 2.8.0 via the TinkerpopClientService. The exploit leverages a missing @Restricted annotation to execute arbitrary Groovy code in the NiFi JVM, bypassing intended security restrictions.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H