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.
Published: 2026-10-15
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: File Disclosure via Path Traversal
Action: Patch
AI Analysis

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.

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

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

History

Wed, 28 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 20 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 17 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Openprinting
Openprinting cups
Vendors & Products Openprinting
Openprinting cups

Thu, 15 Oct 2026 17:30:00 +0000

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'}


Subscriptions

Openprinting Cups
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-28T20:12:06.853Z

Reserved: 2026-07-10T18:51:13.919Z

Link: CVE-2026-61702

cve-icon Vulnrichment

Updated: 2026-10-28T20:11:40.663Z

cve-icon NVD

Status : Modified

Published: 2026-10-15T18:17:28.580

Modified: 2026-10-28T21:17:00.100

Link: CVE-2026-61702

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-15T17:12:10Z

Links: CVE-2026-61702 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T18:00:10Z

Weaknesses
  • CWE-22

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