Authenticated code execution via missing service restriction
Published May 8, 2026 · Updated May 8, 2026
Missing authorization in Apache NiFi 2.0.0-M1 through 2.8.0 allows remote authenticated users to execute Groovy code in the NiFi JVM. TinkerpopClientService accepts ByteCode Submission queries and runs them as Groovy because its class lacks the Restricted annotation that enforces the Execute Code permission. Exploitation requires fine-grained authorization, the optional nifi-other-graph-services-nar bundle, and flow-design privileges; code runs as the NiFi service account.
Summary
What happened
Missing authorization in Apache NiFi 2.0.0-M1 through 2.8.0 allows remote authenticated users to execute Groovy code in the NiFi JVM. TinkerpopClientService accepts ByteCode Submission queries and runs them as Groovy because its class lacks the Restricted annotation that enforces the Execute Code permission. Exploitation requires fine-grained authorization, the optional nifi-other-graph-services-nar bundle, and flow-design privileges; code runs as the NiFi service account.
The record
- CVE
- CVE-2026-39816
- Published
- May 8, 2026
- Updated
- May 8, 2026
- Vendor
- The Apache Software Foundation
- Product
- Apache NiFi
- Classifications
- CWE-862, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 8, 2026CVE publishedPublication date reported by the CVE source.
- May 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0.0-M1 <=2.8.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Apache NiFi CVE-2026-39816 PoCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo