CVE-2025-58060: cups has Authentication bypass with AuthType Negotiate
Authentication Bypass vulnerability in the authorization handling of the CUPS print server. The flaw exists in the cupsdAuthorize() function (scheduler/auth.c) where, if the configured AuthType is anything other than Basic, but the request still includes an Authorization: Basic ... header, the password validation step is skipped. This allows an attacker to bypass authentication checks entirely. By exploiting this issue, an attacker can perform privileged operations, including modifying configuration files, without providing valid credentials. This vulnerability can be exploited remotely depending on the deployment configuration and does not require valid authentication.
Other sources
cups has Authentication bypass with AuthType Negotiate
— Microsoft
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.12 and earlier, when the AuthType is set to anything but Basic, if the request contains an Authorization: Basic ... header, the password is not checked. This results in authentication bypass. Any configuration that allows an AuthType that is not Basic is affected. Version 2.4.13 fixes the issue.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-58060?
CVE-2025-58060 is classified as a high severity authentication bypass vulnerability.
How do I fix CVE-2025-58060?
To fix CVE-2025-58060, update to CUPS version 2.4.13 or later, which addresses the vulnerability.
What software is affected by CVE-2025-58060?
CVE-2025-58060 affects the OpenPrinting CUPS software versions up to and including 2.4.12.
Can CVE-2025-58060 allow unauthorized access?
Yes, CVE-2025-58060 can potentially allow unauthorized users to bypass authentication due to improper handling of authorization.
Is there a workaround for CVE-2025-58060 until a fix is applied?
A possible workaround for CVE-2025-58060 is to configure the AuthType to Basic to prevent the vulnerability from being exploited.