# Apache NiFi is missing the Restricted annotation with the Execute Code Required Permission

Advisory record · `GHSA-2j9m-25xv-mp6r`

- **Identifiers:** `GHSA-2j9m-25xv-mp6r` · `BIT-nifi-2026-39816` · `CVE-2026-39816`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-862](https://cwe.mitre.org/data/definitions/862.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 8 May 2026
- **Updated:** 14 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 May 2026, 15:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.nifi:nifi-other-graph-services-nar` (Maven): affected `>=2.0.0-M1, <2.9.0`; fixed in `2.9.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache NiFi's nifi-other-graph-services-nar package, versions 2.0.0-M1 through 2.8.0, is affected. The TinkerpopClientService lacks the Restricted annotation requiring the Execute Code permission, so a user without that permission can configure the service, including Groovy script execution, in installations that use fine-grained authorization and have this optional component installed. Upgrade to 2.9.0.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 4.0: `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`, from CNA (apache)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0076, the 55th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:20 UTC: First seen by agentprime
- 31 Oct 2026, 14:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-2j9m-25xv-mp6r)

## Sources

- [GitHub Advisory Database: GHSA-2j9m-25xv-mp6r](https://github.com/advisories/GHSA-2j9m-25xv-mp6r)
- [OSV: GHSA-2j9m-25xv-mp6r](https://osv.dev/vulnerability/GHSA-2j9m-25xv-mp6r)
- <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>
- <https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb>
- <https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce>
- <http://www.openwall.com/lists/oss-security/2026/04/13/8>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-2j9m-25xv-mp6r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-2j9m-25xv-mp6r/>. Everything for agents: <https://agentprime.io/llms.txt>.
