CVE-2026-107163: Apache NiFi: Incorrect Handling of Proxied Entity Identity during Cluster Request Replication
Apache NiFi 2.0.0 through 2.12.0 replicate authenticated user requests between cluster nodes and identify the user through the X-ProxiedEntitiesChain header. The framework builds that header from the authenticated user, but it does not remove a differently cased copy supplied by the client. Later header normalization can allow the client-supplied value to replace the authenticated user's identity. An authenticated user can therefore cause replicated requests to run as another identity. Apache NiFi installations that are not configured as a cluster are not subject to this vulnerability. Upgrading to Apache NiFi 2.13.0 is the recommended mitigation, which removes case-variant proxied-entity headers before setting the framework-generated value.
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 affected?
Only Apache NiFi installations configured as clusters are affected. Installations that are not configured as a cluster are not subject to this vulnerability.
What does an attacker need to exploit this issue?
The attacker must be an authenticated NiFi user and must be able to send a request containing a differently cased X-ProxiedEntitiesChain header. The issue occurs when authenticated requests are replicated between cluster nodes.
What is the impact of successful exploitation?
A client-supplied proxied-entity value can replace the authenticated user's identity after header normalization. Replicated requests may then execute as another identity.
What should teams do if they are vulnerable?
Upgrade Apache NiFi to version 2.13.0. This version removes case-variant proxied-entity headers before setting the framework-generated identity header.