CVE-2022-26691
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-26691 is a logic issue in the CUPS (Common Unix Printing System) that affects the validation of the secret key used in the "local" authorization mode. The vulnerability was discovered by Joshua Mason of Mandiant and was fixed in Apple CUPS 2 version 499.4, Security Update 2022-003 Catalina, macOS Monterey 12.3, and macOS Big Sur 11.6.5. The issue affects multiple operating systems including macOS and various Linux distributions (Mandiant Disclosure).

Technical details

The vulnerability exists in the alternative form of authentication ("Local" Authentication) which employs a buggy string compare function (ctcompare()). The function contained a logic error that allowed an attacker to authenticate as root using an empty string, bypassing the need for the 32-byte random secret. The issue has a CVSS v3.1 base score of 6.7 MEDIUM (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

The vulnerability allows a local unprivileged attacker to gain root level privileges. Once authenticated to CUPS as root, arbitrary code execution with root privileges becomes trivially easy to accomplish. This represents a significant security risk as it allows for complete system compromise by local attackers (Mandiant Disclosure).

Mitigation and workarounds

The vulnerability has been patched in multiple versions across different platforms. For macOS, it was fixed in Security Update 2022-003 Catalina, macOS Monterey 12.3, and macOS Big Sur 11.6.5. For Linux distributions, Debian fixed it in version 2.2.10-6+deb10u6 for oldstable and 2.3.3op2-3+deb11u2 for stable. The OpenPrinting CUPS project addressed the issue in version 2.4.2 (Apple Support, Debian Security).

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-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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