criticalOther

Apache NiFi Parameter Context Broken Authorization Leading to Code Execution (CVE-2026-68979)

First seen Aug 6, 2026 · Updated Aug 6, 2026 · CVSS 9.8

apache-nifibroken-access-controlprivilege-escalationcode-executiondata-pipelinerag-pipelineagent-relevant

Apache NiFi versions 1.10.0 through 2.10.0 contain a broken authorization flaw in the Parameter Context update REST API that fails to enforce component-level authorization checks. An authenticated user with only Parameter Context modification rights can alter parameter values affecting components they are not authorized to manage, potentially triggering code execution via scripting-based parameters during automatic validation. Organizations should upgrade to NiFi 2.11.0 immediately, especially those using component-level authorization policies.

Technical Analysis

The vulnerability stems from inconsistent authorization enforcement between the Parameter Context update method and other component management APIs in Apache NiFi. While read/write access to the Parameter Context itself was checked, no corresponding authorization was performed against the individual components referencing those parameters, violating the principle of least privilege in multi-tenant deployments using component-level policies. If a parameter contains executable scripting content (e.g., used in ExecuteScript or similar processors), updating that parameter can cause code execution during NiFi's automatic component validation phase, even without explicitly starting the affected component. Exploitation requires only an authenticated account with Parameter Context edit rights, making this a significant lateral privilege escalation path rather than a pure unauthenticated RCE. Many organizations use Apache NiFi as a data ingestion and ETL backbone for RAG pipelines and agentic data workflows, meaning a compromise here could allow attackers to inject malicious logic into data flows feeding AI agents, poison training/inference data, or execute arbitrary code on hosts that also handle agent orchestration tasks or API credentials.

Affected Systems

Apache NiFi versions 1.10.0 through 2.10.0 (inclusive) that use component-level authorization policies with Parameter Contexts containing scripting-capable parameter values

Indicators of Compromise

  • No public IOCs identified; this is a design-level authorization flaw rather than an active malware campaign

Remediation Steps

  1. 1

    Upgrade Apache NiFi

    Upgrade all affected NiFi instances to version 2.11.0 or later, which aligns Parameter Context update authorization with other component management methods.

  2. 2

    Audit Parameter Context permissions

    Review all users/roles with Parameter Context edit privileges and ensure they align with least-privilege principles for referencing components.

  3. 3

    Audit scripting parameters

    Identify and review all Parameter values that contain executable scripting content (e.g., Groovy, Jython, ExecuteScript configurations) for unauthorized or unexpected changes.

  4. 4

    Review flow and component logs

    Check NiFi audit logs for unexpected Parameter Context updates or component validation events correlated with unauthorized users, particularly around data pipelines feeding RAG or agent systems.

  5. 5

    Restrict credential exposure

    Ensure any API keys, tokens, or secrets used by downstream AI agent or RAG pipelines processed through NiFi flows are rotated if exploitation is suspected.

CVE / Advisory IDs

CVE-2026-68979

Industries Most Exposed

TechnologyFinancial ServicesHealthcareGovernmentTelecommunicationsData Analytics/AI

Sources

Respond to this threat

Pro subscribers get a full AI-generated incident-response playbook for this threat — detection, containment, eradication, and recovery steps — plus an unlimited AI Threat Advisor for questions about your environment.