CVE-2026-34990
JSON

5.0medium

OpenPrinting CUPS: Local print admin token disclosure using temporary printers

Severity
5.0medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.30% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a local unprivileged user can coerce cupsd into authenticating to an attacker-controlled localhost IPP service with a reusable Authorization: Local ... token. That token is enough to drive /admin/ requests on localhost, and the attacker can combine CUPS-Create-Local-Printer with printer-is-shared=true to persist a file:///... queue even though the normal FileDevice policy rejects such URIs. Printing to that queue gives an arbitrary root file overwrite; the PoC below uses that primitive to drop a sudoers fragment and demonstrate root command execution. At time of publication, there are no publicly available patches.

Affected

Product or packageVersionsReported by
OpenPrinting cups<= 2.4.16, up to 2.4.16CVE List, NVD

All scores

GitHub_M5.0medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:L
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-287

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, a local unprivileged user can coerce cupsd into authenticating to an attacker-controlled localhost IPP service with a reusable Authorization: Local ... token. That token is enough to drive /admin/ requests on localhost, and the attacker can combine CUPS-Create-Local-Printer with printer-is-shared=true to persist a file:///... queue even though the normal FileDevice policy rejects such URIs. Printing to that queue gives an arbitrary root file overwrite; the PoC below uses that primitive to drop a sudoers fragment and demonstrate root command execution. At time of publication, there are no publicly available patches.

NVD (es)

OpenPrinting CUPS es un sistema de impresión de código abierto para Linux y otros sistemas operativos tipo Unix. En las versiones 2.4.16 y anteriores, un usuario local sin privilegios puede forzar a cupsd a autenticarse en un servicio IPP de localhost controlado por el atacante con un token de Autorización: Local ... reutilizable. Ese token es suficiente para impulsar solicitudes /admin/ en localhost, y el atacante puede combinar CUPS-Create-Local-Printer con printer-is-shared=true para persistir una cola file:///... aunque la política normal de FileDevice rechaza tales URIs. Imprimir en esa cola permite una sobrescritura arbitraria de archivos de root; el PoC a continuación utiliza esa primitiva para soltar un fragmento de sudoers y demostrar la ejecución de comandos como root. En el momento de la publicación, no hay parches disponibles públicamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34990 changed 2026-04-06CVE Terms of Use
NVDCVE-2026-34990 changed 2026-07-24Public domain