CVE-2026-107165: Apache NiFi: Missing Authorization when Creating Parameter Contexts during Parameter Provider Application
Apache NiFi 1.18.0 through 2.12.0 can create a Parameter Context while applying parameters from a Parameter Provider. On a standalone deployment, the framework creates the context before completing the authorization checks for the application request, bypassing the write permission check required by the Parameter Context creation API. An authenticated user who is not authorized to create Parameter Contexts could create one by submitting a synchronized parameter group for a context name that does not already exist. Clustered deployments are not subject to this vulnerability because creation is replicated through the Parameter Context API, which enforces the write permission check. Apache NiFi installations that do not implement different levels of authorization for creating Parameter Contexts are not subject to this vulnerability. Upgrading to Apache NiFi 2.13.0 is the recommended mitigation, which authorizes write access for Parameter Context creation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.13.0
Event History
Frequently Asked Questions
Which deployments are exposed?
Only standalone Apache NiFi deployments are affected. Clustered deployments are not affected because Parameter Context creation is replicated through the Parameter Context API, where the write-permission check is enforced.
What access and conditions are required for exploitation?
An attacker must be an authenticated user who lacks authorization to create Parameter Contexts. They must submit a synchronized parameter group for a Parameter Context name that does not already exist.
Are installations with simple or uniform authorization affected?
No. Installations that do not implement different authorization levels for creating Parameter Contexts are not subject to this issue.
What should be done if the affected version is in use?
Upgrade to Apache NiFi 2.13.0, which enforces write-access authorization when creating Parameter Contexts. Until upgraded, restrict access to applying parameters from Parameter Providers for users who should not be able to create Parameter Contexts.