CVE-2026-61702

OpenPrinting CUPS: root-side banner file disclosure

Published Oct 15, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copy_banner() in scheduler/ipp.c uses the attacker-controlled IPP attributes-natural-language value as a directory component beneath DataDir/banners when processing a job-sheets banner. The job-sheets value must first match a registered banner basename, and the traversed path must contain a matching reachable basename; selecting an arbitrary target as demonstrated additionally requires pre-positioned path state such as a symlink with that basename. Subject to the scheduler's filesystem and sandbox access, path separators in the language value can escape the intended banner directory, make the root scheduler open the reachable file, and copy its bytes into a job-sheet spool object that a configured backend can deliver to an attacker-observable endpoint. This issue is fixed in version 2.4.20.

Analysis

AI-generated

Technical impact

The vulnerability resides in the copy_banner function of OpenPrinting CUPS prior to version 2.4.20. It allows an attacker to supply a specially crafted IPP attribute, natural-language, that includes path separators and a chosen banner name. Because the system resolves the attribute as a directory component beneath DataDir/banners, an attacker can manipulate the path so that the root scheduler opens a file outside the banner directory. The bytes of that file are then copied into a job-sheet spool object that a backend can deliver to an attacker‑observable endpoint. This results in the disclosure of arbitrary files readable by the scheduler process, potentially exposing sensitive system data. The weakness is a classic directory traversal flaw, identified as CWE‑22.

Affected Systems

OpenPrinting CUPS is affected any release prior to version 2.4.20. Variants of the CUPS scheduler that process job‑sheet banners are susceptible if the scheduler is configured to use the copy_banner function and the backend can deliver the resulting job‑sheet to an endpoint controlled by an attacker.

Risk and Exploitability

The CVSS score is 5.3, indicating a moderate severity. The EPSS score is below 1%, suggesting a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog, further reducing immediate threat perception. An attacker must control IPP job submissions, have the ability to create or influence symlinks or files beneath DataDir/banners, and rely on the backend delivering the job‑sheet. Given these prerequisites and the low EPSS, exploitation is possible but requires a sophisticated operational context. The recommended response is to apply the official fix found in CUPS 2.4.20.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenPrinting CUPS to version 2.4.20 or later, which contains the path‑traversal fix.
  • Configure the CUPS scheduler’s sandbox or filesystem permissions so that the scheduler process cannot read arbitrary system files outside the DataDir/banners directory.
  • If job‑sheet usage is required, restrict the banner basename to pre‑registered files or disable job‑sheet functionality when it is not needed.

Generated by OpenCVE AI on October 16, 2026 at 20:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Openprinting
Openprinting cups
Vendors & Products Openprinting
Openprinting cups
Type Values Removed Values Added
Description OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copy_banner() in scheduler/ipp.c uses the attacker-controlled IPP attributes-natural-language value as a directory component beneath DataDir/banners when processing a job-sheets banner. The job-sheets value must first match a registered banner basename, and the traversed path must contain a matching reachable basename; selecting an arbitrary target as demonstrated additionally requires pre-positioned path state such as a symlink with that basename. Subject to the scheduler's filesystem and sandbox access, path separators in the language value can escape the intended banner directory, make the root scheduler open the reachable file, and copy its bytes into a job-sheet spool object that a configured backend can deliver to an attacker-observable endpoint. This issue is fixed in version 2.4.20.
Title OpenPrinting CUPS: root-side banner file disclosure
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 28, 2026, 8:12 PM
Reserved
Jul 10, 2026, 6:51 PM
Status
Modified
Published
Oct 15, 2026, 6:17 PM
Modified
Oct 28, 2026, 9:17 PM
Severity
Moderate
Public date
Oct 15, 2026, 5:12 PM