CVE-2026-87976: CWE-22 in Apache Software Foundation Apache NiFi Registry
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.
AI Analysis
Technical Summary
Apache NiFi Registry versions 0.4.0 through 2.11.0 are vulnerable to a path traversal (CWE-22) when storing extension bundle content. The vulnerability arises from using group, artifact, and version coordinates from uploaded NAR manifests as filesystem path components without rejecting parent-directory names. The path containment check compares an unnormalized resolved path, allowing an authenticated user with write and delete permissions on bundles to upload a crafted NAR manifest that results in file system operations outside the intended file persistence directory. The issue is fixed in Apache NiFi Registry 2.12.0, which rejects parent-directory coordinates and requires normalized paths to remain strictly within the storage root.
Potential Impact
An authenticated user authorized to write and delete bundles in a bucket can exploit this vulnerability to perform unauthorized file system operations outside the designated storage directory. This could lead to unauthorized file modification, deletion, or creation outside the intended scope, potentially impacting system integrity and availability. The CVSS 4.0 score is 7.2 (high severity), reflecting network attack vector, low complexity, no user interaction, and high impact on confidentiality, integrity, and availability with privileges required.
Mitigation Recommendations
Upgrade Apache NiFi Registry to version 2.12.0 or later. This version includes a fix that rejects parent-directory coordinates and enforces normalized paths to remain strictly within the storage root directory, preventing path traversal. No other mitigations are indicated by the vendor advisory.
CVE-2026-87976: CWE-22 in Apache Software Foundation Apache NiFi Registry
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.
CVSS v4.0
Score 7.2high
Affected software
Apache Software Foundation
Apache NiFi Registry
pkg:maven/Apache Software Foundation/org.apache.nifi.registry:nifi-registry-frameworkRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache NiFi Registry versions 0.4.0 through 2.11.0 are vulnerable to a path traversal (CWE-22) when storing extension bundle content. The vulnerability arises from using group, artifact, and version coordinates from uploaded NAR manifests as filesystem path components without rejecting parent-directory names. The path containment check compares an unnormalized resolved path, allowing an authenticated user with write and delete permissions on bundles to upload a crafted NAR manifest that results in file system operations outside the intended file persistence directory. The issue is fixed in Apache NiFi Registry 2.12.0, which rejects parent-directory coordinates and requires normalized paths to remain strictly within the storage root.
Potential Impact
An authenticated user authorized to write and delete bundles in a bucket can exploit this vulnerability to perform unauthorized file system operations outside the designated storage directory. This could lead to unauthorized file modification, deletion, or creation outside the intended scope, potentially impacting system integrity and availability. The CVSS 4.0 score is 7.2 (high severity), reflecting network attack vector, low complexity, no user interaction, and high impact on confidentiality, integrity, and availability with privileges required.
Mitigation Recommendations
Upgrade Apache NiFi Registry to version 2.12.0 or later. This version includes a fix that rejects parent-directory coordinates and enforces normalized paths to remain strictly within the storage root directory, preventing path traversal. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-09-09T18:20:30.141Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aaaf2ad55bf5e2cf514603f
Added to database: 09/16/2026, 19:49:01 UTC
Last enriched: 09/16/2026, 20:01:32 UTC
Last updated: 09/16/2026, 20:47:26 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.