CVE-2026-81866
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-81866 is a Missing Authorization vulnerability (CWE-862) in Apache NiFi affecting versions 2.9.0 through 2.11.0. The flaw exists in Connector configuration update and verification REST API methods that fail to enforce authorization checks on Assets and Secrets referenced in proposed configurations. It was reported on 2026-08-05 by researchers h1ei1 and Arpit Jain, and publicly disclosed on 2026-09-16 via the Apache security advisory. The vulnerability carries a CVSS v4.0 base score of 0.5 (Low severity) (Apache Advisory, OSS-Security).

Technical details

The root cause is CWE-862 (Missing Authorization): the Connector configuration REST API endpoints enforce only write privileges on the Connector itself, without additionally verifying read authorization on referenced Parameter Providers or confirming that referenced Assets belong to the Connector being configured. An authenticated attacker with write access to a Connector can craft API requests that reference a Parameter Provider they are not authorized to read, thereby applying Secret values from that provider. Similarly, the API accepts arbitrary Asset identifiers without ownership validation, allowing cross-Connector Asset references. The vulnerability is tracked internally as NIFI-16205 (OSS-Security, Apache Advisory).

Impact

A successfully exploited vulnerability allows an authenticated user with Connector write permissions to read Secret values from Parameter Providers they are not authorized to access, and to apply Asset references that do not belong to the Connector being configured. This primarily affects confidentiality and integrity of sensitive configuration data (e.g., credentials, API keys stored as Secrets). Installations that do not implement differentiated authorization levels across Connectors and Parameter Providers are not affected, as the framework's write-permission boundary on the Connector is sufficient in flat authorization models (Apache Advisory, OSS-Security).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires authentication and elevated Connector write privileges, limiting the attack surface to insider threats or compromised accounts (Apache Advisory, OSS-Security).

Exploitation steps

  1. Reconnaissance: Identify an Apache NiFi instance running versions 2.9.0–2.11.0 with multi-level authorization configured (i.e., different access levels for Connectors vs. Parameter Providers).
  2. Authenticate: Log in with credentials for an account that has write access to at least one Connector but lacks read access to a target Parameter Provider containing sensitive Secrets.
  3. Identify target Parameter Provider: Enumerate available Parameter Providers and their associated Secrets (e.g., via NiFi UI or API calls the user is permitted to make).
  4. Craft malicious API request: Send a Connector configuration update or verification REST API request (e.g., PUT /nifi-api/connectors/{id}) that includes references to Assets or Secrets backed by the unauthorized Parameter Provider.
  5. Extract Secret values: The API applies the Secret references without authorization checks, allowing the attacker to observe or leverage the Secret values within the Connector configuration context (OSS-Security, Apache Advisory).

Indicators of compromise

  • Logs: NiFi application logs showing Connector configuration update or verification API calls (PUT /nifi-api/connectors/{id}) by users who do not normally interact with the referenced Parameter Providers.
  • Logs: Audit log entries reflecting Parameter Provider Secret references applied by accounts lacking explicit read authorization on those providers.
  • Network: Unusual REST API activity targeting Connector configuration endpoints from authenticated sessions outside of normal administrative workflows.
  • Application: Connector configurations referencing Assets or Parameter Providers inconsistent with the Connector's expected ownership or access scope (OSS-Security).

Mitigation and workarounds

The recommended mitigation is to upgrade to Apache NiFi 2.12.0, which enforces read authorization checks on referenced Parameter Providers and verifies Connector ownership of referenced Assets during configuration update and verification operations. Organizations that do not implement differentiated authorization levels across Connectors and Parameter Providers are not exposed to this vulnerability and do not require immediate action. No configuration-based workaround is available for affected multi-level authorization deployments short of upgrading (Apache Advisory, OSS-Security).

Community reactions

The vulnerability was disclosed by Apache NiFi committer David Handermann via the oss-security mailing list on 2026-09-16, crediting researchers h1ei1 and Arpit Jain as finders. The advisory characterizes the severity as Low, consistent with the CVSS v4.0 score of 0.5, and notes the limited scope of impact to installations with differentiated authorization configurations. No significant broader media coverage or notable community debate has been observed beyond standard vulnerability tracking aggregators (OSS-Security, Apache Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-70469HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:apache:nifi
NoYesSep 16, 2026
CVE-2026-87976HIGH7.2
  • NixOS logoNixOS
  • cpe:2.3:a:apache:nifi
NoYesSep 16, 2026
CVE-2026-82561MEDIUM5.9
  • NixOS logoNixOS
  • apache-nifi
NoYesSep 16, 2026
CVE-2026-86089LOW2.3
  • NixOS logoNixOS
  • cpe:2.3:a:apache:nifi
NoYesSep 16, 2026
CVE-2026-81866LOW0.5
  • NixOS logoNixOS
  • apache-nifi
NoYesSep 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management