Bug 2537753 - CVE-2026-95511 cups-filters: cups-filters: lpadmin can escalate to root via privileged serial backend (cups2root) [fedora-all]
Summary: CVE-2026-95511 cups-filters: cups-filters: lpadmin can escalate to root via p...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cups-filters
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["20a156ab-1f51-41a3-ae8a-8...
Depends On:
Blocks: CVE-2026-95511
TreeView+ depends on / blocked
 
Reported: 2026-09-22 08:04 UTC by lcelant
Modified: 2026-11-26 13:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-26 13:01:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description lcelant 2026-09-22 08:04:49 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A local privilege escalation exists in the CUPS printing stack used on Red Hat products. The cupsd scheduler decides that a backend runs as root based only on file permission bits (mode 0744 or 0700). Device URI validation in scheduler/ipp.c applies FileDevice path restrictions only to file: URIs. For other schemes, cupsd only checks that the backend binary exists and is executable. It does not validate the path component of the URI.

The serial backend, historically part of Apple CUPS, is not present in OpenPrinting CUPS HEAD (v2.5b1, commit 7cf4b97). Red Hat and Fedora ship it from the cups-filters package as /usr/lib/cups/backend/serial (or /usr/libexec/cups/backend/serial), installed root:root mode 0700 (RHEL 10 uses 0744). That mode still causes cupsd to run the backend as root. An lpadmin (SystemGroup) user can therefore configure a serial: device URI that causes a root-privileged backend to write job data to an attacker-chosen path, including cups-files.conf. cups-files.conf is otherwise protected from lpadmin HTTP PUT (restricted to cupsd.conf).

Impact: local privilege escalation from CUPS administrator (lpadmin) to OS root when the serial backend is installed.

Affected packaging: cups-filters serial backend on Fedora 43/44/45 and RHEL 8/9/10 (c8s/c9s/c10s specs). OpenPrinting CUPS core on HEAD does not build serial.

Fix: not yet available from upstream for this chain.

Reporter: Akiyoshi Kurita (Red Hat), forwarding the public cups2root report by v12-security.
PSIRT Ticket: PSIRTSUPT-24165

Comment 1 Michal Findra 2026-11-26 13:01:14 UTC
CVE-2026-95511 has been rejected: the flaw is rejected in Red Hat's vulnerability database, and the CVE record is rejected at CVE.org with the reason: "Not a vulnerability. Creating a serial queue that overwrites cups-files.conf requires membership in SystemGroups (lpadmin), which is an opt-in cupsd admin role granted by a superuser. No privilege boundary is crossed." Closing this tracker as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.