CVE-2026-55480: CUPS copy_model() creates a predictable PPD tempfile without O_EXCL/O_NOFOLLOW (symlink TOCTOU, lp → root)

Published Oct 15, 2026
·
Updated

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copymodel() in scheduler/ipp.c creates a predictable TempDir/<connection-number>.ppd path in an lp-group-writable directory and opens it as root without OEXCL or ONOFOLLOW. Exploitation requires an lp-group process able to write that directory to predict the connection-derived name and plant a symlink before the root open, while a privileged add-printer or modify-printer operation using a model PPD triggers copymodel(). The reporter treats an existing lp foothold and the privileged operation as distinct prerequisites, while the maintainer assesses high privileges because installing the relevant filter or administering the printer requires root or print-administrator access. If the race succeeds, the root scheduler follows the symlink and truncates or overwrites a root-writable target with generated PPD data, compromising file integrity or availability. This issue is fixed in version 2.4.20.

Affected Software

1 affected component
OpenPrinting CUPS<2.4.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenPrinting CUPS to a version that resolves this vulnerability.

    Fixed in 2.4.20

Event History

Oct 15, 2026
CVE Published
via MITRE·05:09 PM
Data Sourced
via MITRE·05:09 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Systems running OpenPrinting CUPS before 2.4.20 are exposed only where an lp-group process can write the relevant TempDir and a privileged user performs an add-printer or modify-printer operation using a model PPD. The attacker must also win a timing race before the scheduler opens the temporary file as root.

2

Does exploitation require an existing foothold or administrative access?

Exploitation requires an existing lp-group foothold capable of writing the temporary-file directory. It also requires a privileged printer administration action that triggers copy_model(); the maintainer notes that installing the relevant filter or administering the printer requires root or print-administrator access.

3

What is the impact if the race is won?

The root scheduler can follow an attacker-planted symlink and truncate or overwrite a root-writable target with generated PPD data. This can compromise the integrity or availability of the targeted file.

4

What version fixes the issue?

The issue is fixed in OpenPrinting CUPS version 2.4.20.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203