# CVE-2025-58060: cups has Authentication bypass with AuthType Negotiate

> Attackers can bypass authentication in CUPS when AuthType is not Basic by sending a Basic header, allowing unauthorized access to print services.

- **Severity:** High 8.0 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 11 Sep 2025
- **Updated:** 4 Nov 2025
- **Also known as:** ALPINE-CVE-2025-58060, ALSA-2025:15702, AZL-67112, AZL-67269, BELL-CVE-2025-58060, CLSA-2025-1758916320, CLSA-2025-1758916535, CLSA-2025-1758916739, CLSA-2025-1759418654, CLSA-2025-1762422944, CLSA-2025-1762423156, CLSA-2025-1762437868, CLSA-2026-1785399587, CLSA-2026-1785852573, CLSA-2026-1785886683, CLSA-2026-1786033252, CLSA-2026-1790598793, CLSA-2026-1790598876, CLSA-2026-1790599093, DEBIAN-CVE-2025-58060, GHSA-4c68-qgrh-rmmq, RHSA-2025:15702, RHSA-2025:17049, RHSA-2025:17054, RHSA-2025:17141, RHSA-2025:17144, RHSA-2025:17164, RLSA-2025:15702, UBUNTU-CVE-2025-58060

## What is CVE-2025-58060?

CVE-2025-58060 is a high-severity authentication bypass vulnerability in OpenPrinting cups, published on 11 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

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.

Weakness: CWE-287 (Improper Authentication)

## Which versions are affected by CVE-2025-58060?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `cups` | AlmaLinux:8 | All versions | 1:2.2.6-63.el8_10 |
| `cups-client` | AlmaLinux:8 | All versions | 1:2.2.6-63.el8_10 |
| `cups-devel` | AlmaLinux:8 | All versions | 1:2.2.6-63.el8_10 |
| `cups-filesystem` | AlmaLinux:8 | All versions | 1:2.2.6-63.el8_10 |
| `cups-ipptool` | AlmaLinux:8 | All versions | 1:2.2.6-63.el8_10 |
| `cups-libs` | AlmaLinux:8 | All versions | 1:2.2.6-63.el8_10 |
| `cups-lpd` | AlmaLinux:8 | All versions | 1:2.2.6-63.el8_10 |
| `cups` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-client` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-client-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-filesystem` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-ipptool` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-ipptool-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-libs-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-lpd` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups-lpd-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:2.2.6-63.el8_10 |
| `cups` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups-client-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups-debugsource` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups-ipptool-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups-libs` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups-libs-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups-lpd-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 1:2.2.6-63.el8_10 |
| `cups` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-client` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-client-debuginfo` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-debuginfo` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-debugsource` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-devel` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-filesystem` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-ipptool` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-ipptool-debuginfo` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-libs-debuginfo` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-lpd` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups-lpd-debuginfo` | Red Hat:rhel_aus:8.2::appstream | All versions | 1:2.2.6-33.el8_2.3 |
| `cups` | Red Hat:rhel_aus:8.2::baseos | All versions | 1:2.2.6-33.el8_2.3 |

Products: Openprinting Cups.

## How do I fix CVE-2025-58060?

Upgrade to a fixed version.

## Is CVE-2025-58060 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58060 exists.

Public exploit code:

- Custom script to showcase the novel contribution to CVE-2025-58060 (github_poc): https://github.com/aniruddh-bhandarkar/cups-script-final-project

## Other vulnerabilities in OpenPrinting cups

- [CVE-2026-34978](https://insights.sbomify.com/CVE-2026-34978/): Path traversal in cups (medium 6.5)
- [CVE-2025-58364](https://insights.sbomify.com/CVE-2025-58364/): cups: Remote DoS via null dereference (medium 6.5)
- [CVE-2026-34980](https://insights.sbomify.com/CVE-2026-34980/): OpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network (medium 6.1)
- [CVE-2025-61915](https://insights.sbomify.com/CVE-2025-61915/): OpenPrinting CUPS vulnerable to stack based out-of-bound write (medium 6.0)
- [CVE-2026-55480](https://insights.sbomify.com/CVE-2026-55480/): CUPS copy_model() creates a predictable PPD tempfile without O_EXCL/O_NOFOLLOW (symlink TOCTOU, lp → root) (medium 5.7)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-58060 and fix it if it is affected.

What it is: CVE-2025-58060 is a high-severity authentication bypass vulnerability in OpenPrinting cups, published on 11 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58060 exists.

Affected product: OpenPrinting cups. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-58060/ (Markdown: https://insights.sbomify.com/CVE-2025-58060/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-58060
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-58060
- OSV: https://osv.dev/vulnerability/CVE-2025-58060

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-58060/
Summaries are generated and may contain mistakes; the official description above is the record.
