Koffei

CVE-2026-4480

🟠 Medium

Samba (print command %J substitution) (scanner: samba-common,samba-dsdb-modules,python3-samba,libwbclient0,libsmbclient,smbclient,samba-libs,samba-common-bin) · RHEL 7 ELS/8/9/10 and EUS/AUS/SAP variants affected by default; unaffected from fixed samba RPMs (e.g. 0:4.23.5-109.el10_2, 0:4.23.5-10.el9_8, 0:4.19.4-16.el8_10); upstream Samba range not stated

CVSS (Koffei note)
9.0
CVSS (v3.1, CVE List)
9.0
EPSS (2026-11-18)
28.691%
98.18th percentile

Exploitation

No (SSVC: none)

Timeline

  1. 26/05/2026CVE record published (CVE List)

Risk

9 Critical (v3.1) — AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H, EPSS 28.691% (98.17th percentile, rescored 15/11/2026, up from 13.93%) (CWE-78 : Samba passes the client-controlled print job description to the configured 'print command' via %J without escaping shell metacharacters, enabling remote command)

Fix

Yes — see advisory ([advisory](https://access.redhat.com/errata/RHSA-2026:22644 ; https://access.redhat.com/security/cve/CVE-2026-4480 ; https://bugzilla.samba.org/show_bug.cgi?id=16033))

Official description

A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

CWE-78