Skip to content
NewA calmer, faster ZeroHour
Vulnerability3 · 2 reads

CVE-2026-87976

Authenticated path traversal in Apache NiFi Registry extension bundle storage

CVSS 4.0
7.2 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-87976 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

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.

ProductAffected
Apache NiFi Registry0.4.0 through 2.11.0 (fixed in 2.12.0)
Estimated exposure
moderateplausibly tens of thousands of deployments worldwide, but only an estimated few thousand (1k-10k) externally reachable instances — NiFi Registry is a companion service typically deployed internally alongside Apache NiFi for versioned flows and extension bundles, and internet-wide scans of NiFi-family services have historically shown only low thousands of exposed…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Vendors
apache
Products
nifi
Weakness
CWE-22
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:Y/R:U/V:C/RE:X/U:X

In the news

1 story