A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-39816

CVE-2026-39816: Apache NiFi Auth Bypass Vulnerability

CVE-2026-39816 is an authentication bypass flaw in Apache NiFi's TinkerpopClientService that allows unauthorized code execution. This article covers the technical details, affected versions 2.0.0-M1 to 2.8.0, and mitigation.

Published: May 18, 2026

CVE-2026-39816 Overview

CVE-2026-39816 affects the optional TinkerpopClientService extension component in Apache NiFi 2.0.0-M1 through 2.8.0. The component lacks the Restricted annotation that enforces the Execute Code permission requirement. Users without Execute Code permission can configure the service in installations using fine-grained authorization. The TinkerpopClientService supports ByteCode Submission for its Script Submission Type, enabling Groovy script execution before query submission. This allows an authenticated user to bypass authorization controls and execute arbitrary code on the NiFi host. Only installations with the nifi-other-graph-services-nar bundle deployed are affected. The vulnerability maps to [CWE-862] Missing Authorization.

Critical Impact

Authenticated NiFi users without Execute Code permission can run arbitrary Groovy scripts on the server, leading to privilege escalation and remote code execution.

Affected Products

  • Apache NiFi 2.0.0-M1 through 2.8.0 (with nifi-other-graph-services-nar installed)
  • Deployments using fine-grained authorization policies
  • Installations exposing the TinkerpopClientService extension

Discovery Timeline

  • 2026-05-08 - CVE-2026-39816 published to NVD
  • 2026-05-09 - Last updated in NVD database

Technical Details for CVE-2026-39816

Vulnerability Analysis

Apache NiFi enforces sensitive operations through the Restricted annotation combined with specific permissions such as Execute Code. Components carrying this annotation require the requesting user to hold the matching permission before configuration is allowed. The TinkerpopClientService omits this annotation despite supporting code execution paths. Operators relying on fine-grained authorization assume that only privileged users can configure code-executing components. This assumption breaks for the affected service, granting lower-privileged users access to a code execution primitive.

Root Cause

The root cause is missing authorization metadata on the TinkerpopClientService class. The Execute Code Required permission gate that NiFi applies to scriptable components is never triggered because the annotation is absent. NiFi's authorization framework checks annotations at configuration time, so the absent decorator removes the enforcement step entirely.

Attack Vector

An attacker authenticates to a vulnerable NiFi instance with permissions to create or modify controller services but without the Execute Code permission. The attacker configures a TinkerpopClientService instance and sets the Script Submission Type to ByteCode Submission. The attacker supplies a Groovy script that runs on the NiFi process before any graph query executes. The script inherits the NiFi service account context and can read secrets, modify flows, or pivot to other systems. Refer to the Apache Mailing List Thread and the ZeroPath Blog on CVE-2026-39816 for additional technical context.

No public exploit code or proof-of-concept has been verified for this issue. The vulnerability mechanism is documented in the linked advisories above without sanitized exploitation code.

Detection Methods for CVE-2026-39816

Indicators of Compromise

  • Creation or modification of TinkerpopClientService controller service instances by users lacking Execute Code permission
  • TinkerpopClientService configurations where Script Submission Type is set to ByteCode Submission with embedded Groovy code
  • Unexpected child processes or outbound network connections originating from the NiFi JVM process
  • New or modified entries in NiFi flow definitions referencing nifi-other-graph-services-nar components

Detection Strategies

  • Audit NiFi access logs for controller service create or update events targeting TinkerpopClientService
  • Correlate user permission assignments with controller service configuration events to identify authorization mismatches
  • Inspect NiFi flow.json.gz or flow definition exports for TinkerpopClientService entries containing Groovy script payloads
  • Monitor the NiFi host for process execution chains spawned by the NiFi service account

Monitoring Recommendations

  • Forward NiFi user audit logs to a centralized SIEM and alert on controller service configuration changes
  • Track installation of the nifi-other-graph-services-nar bundle across NiFi clusters
  • Baseline normal Groovy and graph query activity to flag deviations
  • Alert on NiFi service account command execution beyond expected dataflow operations

How to Mitigate CVE-2026-39816

Immediate Actions Required

  • Upgrade Apache NiFi to version 2.9.0 or later, which restores the Restricted annotation enforcement
  • Inventory NiFi installations for the presence of nifi-other-graph-services-nar and prioritize patching those hosts
  • Review current users and groups granted access to controller service configuration and remove unnecessary permissions
  • Audit existing TinkerpopClientService instances for unauthorized Groovy script content

Patch Information

Apache recommends upgrading to Apache NiFi 2.9.0. The fix adds the Restricted annotation with the Execute Code Required permission to the TinkerpopClientService component. Details are published in the Apache Mailing List Thread and the Openwall OSS-Security Post.

Workarounds

  • Remove the nifi-other-graph-services-nar bundle from the NiFi lib directory if Tinkerpop functionality is not required
  • Restrict controller service creation and modification permissions to users who already hold Execute Code permission
  • Disable fine-grained authorization bypasses by enforcing single-tier admin policies until upgrade is complete
bash
# Remove the optional graph services bundle to eliminate exposure
cd $NIFI_HOME/lib
mv nifi-other-graph-services-nar-*.nar /tmp/quarantine/
# Restart NiFi to apply the change
$NIFI_HOME/bin/nifi.sh restart

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechApache Nifi

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:I/V:C/RE:L/U:Green
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-862
  • Technical References
  • Openwall OSS-Security Post

  • ZeroPath Blog on CVE-2026-39816
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-25903: Apache NiFi Privilege Escalation Flaw

  • CVE-2023-34468: Apache NiFi RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English