{"id":"CVE-2026-39816","published":"2026-05-08T13:38:12Z","modified":"2026-05-09T01:12:19Z","title":"Apache NiFi: Missing Execute Code Required Permission on TinkerpopClientService","vendor":"Apache","product":"Apache NiFi","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0076,"percentile":0.56201,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/13/8","tags":[]},{"url":"https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce","tags":[]}],"priority":{"score":21.5,"factors":[{"name":"EPSS percentile","points":11.24},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-04-28","earliestUrl":"https://github.com/ZeroPathAI/nifi-CVE-2026-39816-poc","repos":[{"name":"ZeroPathAI/nifi-CVE-2026-39816-poc","url":"https://github.com/ZeroPathAI/nifi-CVE-2026-39816-poc","stars":1,"created":"2026-04-28"}]},"first":{"date":"2026-04-28","source":"PoC-in-GitHub","url":"https://github.com/ZeroPathAI/nifi-CVE-2026-39816-poc"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache NiFi","versions":[">= 2.0.0-M1, <= 2.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-08T14:36:48.324372Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.nifi:nifi-other-graph-services-nar","vulnerableRanges":[">=2.0.0-M1, <2.9.0"],"patched":["2.9.0"],"from":["GHSA-2j9m-25xv-mp6r"],"provenance":"source"}],"summary":{"text":"The TinkerpopClientService optional extension in Apache NiFi versions 2.0.0-M1 through 2.8.0 lacks the Restricted annotation requiring the Execute Code permission, so it can be configured by users who do not hold that permission. An attacker with high-privilege authenticated access (PR:H) and network reach to a NiFi instance using fine-grained authorization, with the nifi-other-graph-services-nar package installed, could configure the service to run Groovy scripts it should not be permitted to execute.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:14Z"},"euvd":{"id":"EUVD-2026-28593","exploited":false,"provenance":"source"}}