CVE-2026-116636: Apache NiFi: Missing Cross-Site Request Forgery Protection for Client Certificate Authentication
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 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 to this issue?
Installations running Apache NiFi 1.14.0 through 2.12.0 are exposed when interactive users authenticate with X.509 client certificates. Installations using other interactive authentication strategies are not subject to this vulnerability.
What must an attacker be able to do to exploit it?
An attacker needs to induce a user’s browser to visit a page hosted on an unrelated origin while the browser has a client certificate selected for NiFi. That page can submit state-changing requests authenticated as the certificate user, but cannot read the responses.
What access can an attacker obtain through a successful request?
Requests execute only within the authorizations assigned to the user represented by the selected client certificate. The vulnerability does not allow the attacking site to read NiFi responses.
What should be done if affected?
Upgrade to Apache NiFi 2.13.0. This release evaluates the Sec-Fetch-Site header sent by supported web browsers.