DEV Community

yutianle
yutianle

Posted on

Apache NiFi Revision Trust Widens a Controller Service Bypass

Apache NiFi Revision Trust Widens a Controller Service Bypass

Apache NiFi 2.12.0 and earlier contain two authorization defects disclosed on December 1, 2026. CVE-2026-97733 allows an authenticated user to change referencing component state by submitting an empty or incomplete revision set. CVE-2026-97734 allows a mismatch between the Parameter Context identifier in the request path and the identifier in the body. Apache fixed both issues in NiFi 2.13.0.

The first issue affects NiFi 1.0.0 through 2.12.0. The server authorized a state change using revisions supplied by the caller, then resolved a larger transitive set of components. An attacker who could authenticate could enable or disable Controller Services and start or stop referencing processors, reporting tasks or flow-analysis rules without permission on those components.

The second issue affects NiFi 1.10.0 through 2.12.0. Authorization used the path identifier while some processing used the body identifier. A user with write access to one Parameter Context could target another context under limited conditions. Installations that give every authenticated user authority over every flow component are outside the stated CVE-2026-97733 condition, but that does not make broad trust a good long-term design.

Test the authorization boundary

NiFi policies need to be tested with identities that should fail, not only with administrators. Create users with access to one Controller Service, one Processor and one Parameter Context. Attempt to reference a protected service, submit an incomplete revision list, and send differing path and body identifiers.

The expected result in 2.13.0 is server-resolved authorization before any state changes. A correct response also needs to avoid a partial update when one component in the transitive set is denied.

Recovery review

Review audit logs for state changes made by low-privilege users, controller-service enable or disable events, processor start or stop events, and Parameter Context updates where identifiers do not match across the request. Check whether those changes altered credentials, remote endpoints, input paths or business logic.

The patch is the primary remediation. Network segmentation and least-privilege flow policies reduce the population of identities that can reach the vulnerable APIs, but they do not replace the upgrade.

References

Top comments (0)