Red Hat Hardened Images: Cups: cups: argument injection in mailto notifier via notify-recipient-uri
What fixes it
- 2.4.20Red Hat Hardened ImagesGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
An argument injection flaw was found in CUPS. When email notification is configured, the CUPS scheduler accepts printer subscription requests that supply a mailto notify-recipient-uri. The mailto notifier passes the recipient address to the configured sendmail program without ensuring it cannot be interpreted as command-line options. A remote attacker who can reach the CUPS service could supply a crafted recipient value starting with "-" to influence sendmail behavior. Successful exploitation depends on the installed mail transfer agent and CUPS network exposure, and may lead to execution of attacker-controlled commands with the privileges of the CUPS service user.
Text from CVE List
Affected versions 2
- Red Hat Hardened Imagesunaffected: 2.4.19-4.3.hum1 and laterCVE List
- Red Hat Hardened Images2.4.7GitHub
References 6
- github.com/OpenPrinting/cups/commit/1244ed9Fixvia CVE List
- github.com/OpenPrinting/cups/commit/611d1bdFixvia CVE List
- access.redhat.com/errata/RHSA-2026:77638Advisoryvia CVE List
- access.redhat.com/security/cve/CVE-2026-105326Advisoryvia CVE List
- github.com/OpenPrinting/cups/security/advisories/GHSA-r4wf-366f-f6g3Advisoryvia CVE List
- bugzilla.redhat.com/show_bug.cgi?id=2545835Referencevia CVE List