PoC Monitor
← All CVEs
CVE-2026-39816published 8 May 2026 13:38 UTCData: JSON · API

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.

First public PoC 9.6 days beforebefore publication · 28 Apr 2026
Public PoCs11 on GitHub
CVSS8.8high · scored by NVD · CWE-862
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Apache Software Foundation Apache NiFi
  • >= 2.0.0-M1, <= 2.8.0
org.apache.nifi:nifi-other-graph-services-nar (Maven)
  • >= 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

Timeline

Days relative to CVE publication
-9-6-3t=0+3+6First public PoC28 Apr 2026 · t−9.6dCVE published8 May 2026 · t = 0

First 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
RepositoryCreatedStarsAssessment
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 repo

POST /nifi-api/access/token

Body markers
username= password= in application/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.

POST /nifi-api/access/token
(?i)^/nifi-api/access/token(?:[?#].*)?$
{VAR} /nifi-api{var}
(?i)^/nifi-api[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /nifi-api/access/token
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;)
{VAR} /nifi-api{var}
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.

POST /nifi-api/access/token
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
{VAR} /nifi-api{var}
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