# CVE-2022-26850: Insufficiently protected credentials

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-04-06T17:40:09.000Z
- Modified: 2026-09-08T08:48:16.935Z
- Also known as: GHSA-rvp4-r3g6-8hxq, BIT-NIFI-2022-26850
- Weaknesses: CWE-522, CWE-668
- Assigned by: apache

## Description

When creating or updating credentials for single-user access, Apache NiFi wrote a copy of the Login Identity Providers configuration to the operating system temporary directory. On most platforms, the operating system temporary directory has global read permissions. NiFi immediately moved the temporary file to the final configuration directory, which significantly limited the window of opportunity for access. NiFi 1.16.0 includes updates to replace the Login Identity Providers configuration without writing a file to the operating system temporary directory.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache NiFi: NiFi 1.14.0 to 1.15.3
- org.apache.nifi:nifi-single-user-utils (Maven): before 1.16
- apache nifi: from 1.14.0 before 1.16.0
- nifi (Bitnami): from 1.14.0 before 1.16.0

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://nifi.apache.org/security.html#CVE-2022-26850> (advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/04/06/2> (advisory, mailing-list, third-party-advisory, web)
- <https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-rvp4-r3g6-8hxq> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-26850> (advisory, web)
- <https://github.com/apache/nifi/commit/859d5fe> (web)
- <https://github.com/apache/nifi/commit/859d5fe8cfe05ad24600b021f0ebf15753a8105c> (web)

## Sources

- CVE List: [CVE-2022-26850](https://www.cve.org/CVERecord?id=CVE-2022-26850), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-rvp4-r3g6-8hxq](https://github.com/advisories/GHSA-rvp4-r3g6-8hxq), CC-BY-4.0, modified 2025-09-15
- NVD: [CVE-2022-26850](https://nvd.nist.gov/vuln/detail/CVE-2022-26850), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NIFI-2022-26850](https://osv.dev/vulnerability/BIT-NIFI-2022-26850), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-26850 · Whole record: https://cve.day/CVE-2022-26850.json · Rebuilt by cve.day 2026-11-25T22:58:10.452Z
