CVE-2026-116636
Apache NiFi: Missing Cross-Site Request Forgery Protection for Client Certificate Authentication
Description
Apache NiFi 1.14.0 through 2.12.0 apply Cross-Site Request Forgery protection to REST API requests only when the request carries the Authorization Bearer cookie, conditioning Request Token enforcement on the presence of that cookie. Installations that authenticate users with X.509 client certificates do not use that cookie, so state-changing requests authenticated by a client certificate are processed without Cross-Site Request Forgery evaluation. A page on an unrelated origin can cause a browser that holds a selected client certificate to submit authenticated state-changing requests, within the scope of the certificate user's authorizations and without reading the response. Installations that authenticate interactive users with other strategies are not subject to this vulnerability. Upgrading to Apache NiFi 2.13.0 is the recommended mitigation, which evaluates the Sec-Fetch-Site header as sent from supported web browsers.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.nifi » nifi-web-securitypreliminary | >= 1.14.0, <= 2.12.0 | - |
Blast radius
16% of the dependent artifacts (4) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 859 |
| 2 hops | 1,261 |
| 3 hops | 658 |
| 4 hops | 1,203 |
Most used dependents
- org.apache.nifi » nifi-framework-nar14 usages
- org.apache.nifi » nifi-framework-cluster9 usages
- org.apache.nifi » nifi-web-optimistic-locking6 usages
- org.apache.nifi » nifi-jetty5 usages
- org.apache.nifi » nifi-server-nar2 usages
- org.apache.nifi » nifi-toolkit-admin2 usages
- org.apache.nifi » nifi-framework-zookeeper-nar2 usages
- org.apache.nifi » nifi-connector-mock2 usages
- org.apache.nifi » nifi-connector-mock-server-nar2 usages
- org.apache.nifi » nifi-assembly1 usages
- org.apache.nifi » nifi-system-test-suite1 usages
- org.apache.nifi » nifi-framework-kubernetes-nar1 usages
- com.cloudera » nifi-cdf-flow-analysis-rules-nar1 usages
- com.cloudera » nifi-assembly1 usages
- com.cloudera » nifi-cdf-repository-nar1 usages
Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
