# CVE-2026-39816: Apache NiFi: Missing Execute Code Required Permission on TinkerpopClientService

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-08 · Modified: 2026-05-09
- Aliases: GHSA-2j9m-25xv-mp6r, BIT-nifi-2026-39816
- Record: https://cvemate.com/vulnerability/CVE-2026-39816 · JSON: https://cvemate.com/vulnerability/CVE-2026-39816/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.76%, percentile 56.662%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache nifi: ≥ 2.0.0-M1, ≤ 2.8.0
- apache nifi: ≥ 2.0.0, \< 2.9.0
- org.apache.nifi nifi-other-graph-services-nar (Maven): ≥ 2.0.0-M1, \< 2.9.0

## References

- <https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb>
- <http://www.openwall.com/lists/oss-security/2026/04/13/8>
- <https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39816>
- <https://github.com/apache/nifi/pull/11108>
- <https://github.com/apache/nifi/commit/72fab7dde74edfd1063b57e87b0334340c1fbe93>
- <https://github.com/apache/nifi>

---

Data as of 2026-12-05T04:44:29.742Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
