CVE-2022-26850: Apache NiFi Insufficiently Protected Credentials Vulnerability

nifi Updated 02 Oct 2025

Summary

12/09/2025
Yes i
Medium
Not published

CVE-2022-26850: Insufficiently protected credentials. Affects nifi versions >= 1.14.0, < 1.16.0. Fixed in 1.16.0. How to fix ↓

Also tracked for

The same CVE-2022-26850 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache NiFi is an open-source data integration tool that automates the flow of data between systems. It provides a user-friendly interface for designing data flows and supports various data sources and destinations. The tool is widely used for data ingestion, transformation, and routing. However, it has a vulnerability related to the handling of credentials for single-user access, which could expose sensitive information.

Vulnerability Detail

The vulnerability arises when Apache NiFi creates or updates credentials for single-user access. During this process, it writes a copy of the Login Identity Providers configuration to the operating system's temporary directory, which typically has global read permissions. Although NiFi quickly moves this temporary file to the final configuration directory, the brief window of opportunity for unauthorized access poses a security risk. This vulnerability can lead to exposure of sensitive credentials, potentially allowing unauthorized users to gain access to the system.

How To Fix

Minimum fixed version

1.16.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider restricting access to the operating system's temporary directory to prevent unauthorized users from reading files during the brief window when the configuration is written. This can be done by adjusting the permissions of the temporary directory, although it is not a complete solution and updating to the patched version is strongly recommended.

Conclusion

In summary, CVE-2022-26850 is a medium-severity vulnerability in Apache NiFi that can expose sensitive credentials due to insufficient protection during the credential management process. It is crucial to update to version 1.16.0 or later to mitigate this risk. Users are also encouraged to utilize tools like Vulert to monitor and manage vulnerabilities in their applications.

See every vulnerability recorded for nifi →

Share this vulnerability

FAQ

CVE-2022-26850 is a vulnerability in Apache NiFi that involves insufficient protection of credentials during the creation or update process, potentially exposing sensitive information.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Apache NiFi versions prior to 1.16.0 are affected by this vulnerability.

If an immediate update is not possible, consider restricting access to the temporary directory as a temporary workaround until you can upgrade.

Related vulnerabilities

Recent vulnerabilities recorded for nifi.

How To Fix

Minimum fixed version

1.16.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback