CVE-2026-107164: Apache NiFi: Missing Authorization when Attaching a Parameter Provider during Flow Replacement
Apache NiFi 1.18.0 through 2.12.0 allow a Process Group flow replacement to attach a Parameter Provider to an existing Parameter Context. The direct Parameter Context API requires write permission for this change, but the flow replacement path requires write permission only when a parameter is added or the inherited Parameter Context list changes. An authenticated user with write permission on a Process Group, but only read permission on a shared Parameter Context, could attach a Parameter Provider and mark the association as synchronized. The change does not fetch or apply parameter values. A subsequent authorized parameter application is required before components bound to the context are affected. Apache NiFi installations that do not implement different levels of authorization for reading and modifying Parameter Contexts are not subject to this vulnerability. Upgrading to Apache NiFi 2.13.0 is the recommended mitigation, which requires write permission on an existing Parameter Context when the proposed flow would attach a Parameter Provider.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache NiFito a version that resolves this vulnerability.Fixed in 2.13.0
Event History
Frequently Asked Questions
Which deployments are affected?
Only installations that enforce different authorization levels for reading and modifying Parameter Contexts are affected. Installations that do not distinguish between read and write authorization for Parameter Contexts are not subject to this issue.
What access does an attacker need, and when does the change have an effect?
The attacker must be an authenticated user with write permission on a Process Group and read-only permission on a shared Parameter Context. Attaching the Parameter Provider does not retrieve or apply parameter values; a later authorized parameter-application action is required before components using that context are affected.
What is the recommended mitigation?
Upgrade to Apache NiFi 2.13.0. This version requires write permission on an existing Parameter Context when a proposed flow replacement would attach a Parameter Provider.