{"cve":"CVE-2026-39816","nvd":{"published":"2026-05-08T14:16:32.667","modified":"2026-10-26T19:10:00.163","status":"Modified","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.","cvss_v4":{"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","score":7.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-862"],"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"],"products":["apache:nifi"],"source":"nvd","synced_at":"2026-10-26T19:31:02.781428341+00:00"},"epss":{"cve":"CVE-2026-39816","score":0.0076,"percentile":0.55019,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-2j9m-25xv-mp6r","url":"https://osv.dev/vulnerability/GHSA-2j9m-25xv-mp6r","summary":"Apache NiFi is missing the Restricted annotation with the Execute Code Required Permission","modified":"2026-05-14T13:26:29.179160699Z","packages":[{"ecosystem":"Maven","name":"org.apache.nifi:nifi-other-graph-services-nar","purl":"pkg:maven/org.apache.nifi/nifi-other-graph-services-nar","ranges":[">=2.0.0-M1 <2.9.0"],"fixed":["2.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}