What’s Vulnerable › Vulnerabilities
CVE-2026-87976: Apache NiFi Registry: Improper Limitation of Pathname in Persisted Extension Bundles
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-16 · updated 2026-09-21
- Weakness: CWE-22
Description
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.
Affected products
- Apache Software Foundation Apache NiFi: from 0.4.0 before 2.12.0 — fixed in 2.12.0
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache NiFi 2.12.0. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/kw89toml5zq20ry3279mx7y184vrlb8x
- http://www.openwall.com/lists/oss-security/2026/09/16/11
Get alerted when CVE-2026-87976 or the next vulnerability affects your stack