CVE-2026-87976: Apache NiFi Registry: Improper Limitation of Pathname in Persisted Extension Bundles
Apache NiFi Registry 0.4.0-2.11.0 allows path manipulation when storing extension bundle content from uploaded NAR manifests (CVE-2026-87976, High).
Authenticated path traversal in Apache NiFi Registry extension bundle storage
Apache NiFi Registry 0.4.0 through 2.11.0 is vulnerable to path manipulation (CWE-22) in the default file persistence provider, which builds storage paths for extension bundles from the group, artifact, and version coordinates in an uploaded NAR manifest without rejecting parent-directory names, while its path-containment check compares an unnormalized resolved path. An authenticated user authorized to write and delete bundles in a bucket can upload a NAR with a crafted manifest, causing file system operations outside the file persistence directory. The attacker gains the ability to write to or delete files elsewhere on the host, producing high integrity and availability impact, though the CVSS score indicates no direct confidentiality impact. All NiFi Registry deployments in the 0.4.0-2.11.0 range are affected where any account holds bundle write/delete permissions, since exploitation requires valid low-privileged credentials. No public proof of concept, CISA KEV listing, or confirmed in-the-wild exploitation is currently known.
What to do: Upgrade all NiFi Registry instances to 2.12.0, which rejects parent-directory coordinates and requires a normalized path to remain a strict child of the storage root. Until upgraded, restrict write and delete permissions for extension bundles to fully trusted accounts and review buckets for NARs whose group, artifact, or version coordinates contain parent-directory sequences. Check the host filesystem around the file persistence directory for unexpected files or missing data that could indicate prior abuse.
| Product | Affected |
|---|---|
| Apache NiFi Registry | 0.4.0 through 2.11.0 (fixed in 2.12.0) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Apache NiFi Registry 0.4.0 through 2.11.0 are subject to path manipulation when storing extension bundle content using group, artifact, and version coordinates from uploaded NAR manifests. The default file persistence provider used coordinates as filesystem path components without rejected parent-directory names, and the path-containment check compared an unnormalized resolved path. An authenticated user authorized to write and delete bundles in a bucket can upload a NAR with a crafted manifest resulting in file system operations outside of the file persistence directory. Upgrading to Apache NiFi Registry 2.12.0 is the recommended mitigation, which rejects parent-directory coordinates and requires a normalized path to remain a strict child of the storage root location.
Apache NiFi Registry 0.4.0-2.11.0 allows path manipulation when storing extension bundle content from uploaded NAR manifests (CVE-2026-87976, High).
Today 1.6K readers · 2.5K views · 779 reads · all time 189K views