6.5medium
OpenPrinting CUPS: Path traversal in RSS notify-recipient-uri enables file write outside CacheDir/rss (and clobbering of job.cache)
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 41% 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, the RSS notifier allows .. path traversal in notify-recipient-uri (e.g., rss:///../job.cache), letting a remote IPP client write RSS XML bytes outside CacheDir/rss (anywhere that is lp-writable). In particular, because CacheDir is group-writable by default (typically root:lp and mode 0770), the notifier (running as lp) can replace root-managed state files via temp-file + rename(). This PoC clobbers CacheDir/job.cache with RSS XML, and after restarting cupsd the scheduler fails to parse the job cache and previously queued jobs disappear. At time of publication, there are no publicly available patches.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenPrinting cups | <= 2.4.16, up to 2.4.16 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
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, the RSS notifier allows .. path traversal in notify-recipient-uri (e.g., rss:///../job.cache), letting a remote IPP client write RSS XML bytes outside CacheDir/rss (anywhere that is lp-writable). In particular, because CacheDir is group-writable by default (typically root:lp and mode 0770), the notifier (running as lp) can replace root-managed state files via temp-file + rename(). This PoC clobbers CacheDir/job.cache with RSS XML, and after restarting cupsd the scheduler fails to parse the job cache and previously queued jobs disappear. 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, el notificador RSS permite un salto de ruta en notify-recipient-uri (p. ej., rss:///../job.cache), lo que permite a un cliente IPP remoto escribir bytes XML RSS fuera de CacheDir/rss (en cualquier lugar que sea escribible por lp). En particular, debido a que CacheDir es escribible por grupo por defecto (típicamente root:lp y modo 0770), el notificador (ejecutándose como lp) puede reemplazar archivos de estado gestionados por root a través de temp-file + rename(). Esta PoC sobrescribe CacheDir/job.cache con XML RSS, y después de reiniciar cupsd el planificador no puede analizar la caché de trabajos y los trabajos previamente en cola desaparecen. En el momento de la publicación, no hay parches disponibles públicamente.
References
| https://github.com/OpenPrinting/cups/security/advisories/GHSA-f53q-7mxp-9gcr | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34978 changed 2026-04-06 | CVE Terms of Use |
| NVD | CVE-2026-34978 changed 2026-07-20 | Public domain |