CVE-2026-87976
Apache NiFi Registry: Improper Limitation of Pathname in Persisted Extension Bundles
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.nifi.registry » nifi-registry-frameworkpreliminary | >= 0.4.0, <= 2.11.0 | - |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 834 |
| 2 hops | 1,151 |
Most used dependents
- org.apache.nifi.registry » nifi-registry-web-api3 usages
- org.apache.nifi.registry » nifi-registry-toolkit-persistence2 usages
- org.apache.nifi.registry » nifi-registry-docs1 usages
- org.apache.nifi.registry » nifi-registry-toolkit-assembly0 usages
- org.apache.nifi.registry » nifi-registry-assembly0 usages
- org.apache.nifi » nifi-code-coverage0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-87976 | github.com |
| Advisory | thread/kw89toml5zq20ry3279mx7y184vrlb8x | lists.apache.org |
| Advisory | NVD CVE-2026-87976 | nvd.nist.gov |
| Web | lists/oss-security/2026/09/16/11 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
