Apache NiFi: Missing Execute Code Required Permission on TinkerpopClientService
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-39816. PoCs published by ZeroPathAI.
AI-analyzed exploit summary 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.
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 (1)
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