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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T17:09:33.878Z
- Modified: 2026-10-20T19:37:33.393Z
- Weaknesses: CWE-59, CWE-377
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copy_model() in scheduler/ipp.c creates a predictable TempDir/<connection-number>.ppd path in an lp-group-writable directory and opens it as root without O_EXCL or O_NOFOLLOW. 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 copy_model(). 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.

(As written by CVE List.)

## Affected

- OpenPrinting cups: < 2.4.20; before 2.4.20

## References

- <https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9> (exploit, patch, vendor-advisory)
- <https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62> (patch)
- <https://github.com/OpenPrinting/cups/commit/f6a11dae0f0f3b748fbca931e237be03ffe8e48e> (patch)
- <https://github.com/OpenPrinting/cups/releases/tag/v2.4.20> (release-notes)

## Sources

- CVE List: [CVE-2026-55480](https://www.cve.org/CVERecord?id=CVE-2026-55480), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-55480](https://nvd.nist.gov/vuln/detail/CVE-2026-55480), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-55480 · Whole record: https://cve.day/CVE-2026-55480.json · Rebuilt by cve.day 2026-11-25T22:59:44.917Z
