Apache Software Foundation Apache NiFi
Apache NiFi: Missing Execute Code Required Permission on TinkerpopClientService
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 2.0.0-M1, <= 2.8.0
- >= 2.0.0-M1, < 2.9.0
Fixed in 2.9.0
from GitHub Security Advisory GHSA-2j9m-25xv-mp6r
Mitigation
Upgrade org.apache.nifi:nifi-other-graph-services-nar to 2.9.0 or later.
References
- Vendor advisory lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35…
Timeline
Days relative to CVE publicationFirst public PoC 9.6 days before publication; not in CISA KEV. First PoC: ZeroPathAI/nifi-CVE-2026-39816-poc (created 28 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ZeroPathAI/nifi-CVE-2026-39816-poc | 28 Apr 2026 −9.6 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /nifi-api/access/token
- Body markers
username=password=inapplication/x-www-form-urlencoded- Ports
- 8443
- Seen in
- 1 repo: ZeroPathAI/nifi-CVE-2026-39816-poc
- Evidence
- ZeroPathAI/nifi-CVE-2026-39816-poc/pocs/flow_designer_groovy_rce.py:101
{VAR} /nifi-api{var}
- Key headers
Authorization: Bearer {var}- Content-Type
application/json- Ports
- 8443
- Seen in
- 1 repo: ZeroPathAI/nifi-CVE-2026-39816-poc
- Evidence
- ZeroPathAI/nifi-CVE-2026-39816-poc/pocs/flow_designer_groovy_rce.py:116
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/nifi-api/access/token(?:[?#].*)?$
(?i)^/nifi-api[^/?#]*(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8443] (msg:"GG PoC-Monitor CVE-2026-39816 Apache Software Foundation Apache NiFi exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/nifi-api/access/token"; http.request_body; content:"username="; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2026-39816; classtype:web-application-attack; sid:9274457; rev:1;)
alert http any any -> $HOME_NET [8443] (msg:"GG PoC-Monitor CVE-2026-39816 Apache Software Foundation Apache NiFi exploit attempt"; flow:established,to_server; http.method; content:"{VAR}"; http.uri; content:"/nifi-api"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-39816; classtype:web-application-attack; sid:9226464; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache NiFi exploit attempt (CVE-2026-39816)
id: gg-pocmon-cve-2026-39816-9274457
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-39816
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/nifi-api/access/token'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.39816
title: Apache Software Foundation Apache NiFi exploit attempt (CVE-2026-39816)
id: gg-pocmon-cve-2026-39816-9226464
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-39816
logsource:
category: webserver
detection:
selection:
cs-method: {VAR}
cs-uri-stem|contains|all:
- '/nifi-api'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.39816