Improper Authentication Affecting OpenPrinting/cups package, versions [,2.4.13)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OPENPRINTINGCUPS-12705377
  • published16 Sept 2025
  • disclosed11 Sept 2025
  • creditHristo Venev

Introduced: 11 Sep 2025

CVE-2025-58060  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade OpenPrinting/cups to version 2.4.13 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication via the AuthType configuration when it is set to any value other than Basic and the request contains an Authorization: Basic ... header. An attacker can gain unauthorized access by sending a specially crafted request that bypasses password verification.

PoC

  1. Configure CUPS with DefaultAuthType Negotiate.

  2. Start CUPS

  3. Send a request to CUPS with Authorization: Basic $(echo -n admin:x | base64), where admin is an administrator username and x is literally the string x.

References

CVSS Base Scores

version 4.0
version 3.1