← Vulnerability feed

Vulnerability record · CVE-2019-14287 · published 17 October 2019

CVE-2019-14287: Sudo policy bypass via crafted user ID in sudo -u

Sudo Project · Sudo

Sudo before 1.8.28 mishandles a crafted user ID passed to sudo -u, allowing an attacker who already holds a Runas ALL sudoer account to bypass policy blacklists and session PAM modules and to cause incorrect logging. The flaw undermines the intended restriction that a sudoer cannot run commands as root, so a limited sudo privilege can be escalated to full root execution.

8.8 CVSS 3.1 High EPSS 64% · top 0.8% CWE-755 · CWE-755
8.8CVSS 3.1 base score, v2 9.0
64%EPSS exploitation probability, 30 days
NoNot in CISA KEV
15Affected product versions listed by NVD
74References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a "sudo -u \#$((0xffffffff))" command.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityCVSS 8.8 with a very high EPSS percentile and public exploit detail make this a serious local privilege escalation, though it requires an existing Runas ALL sudoer account.

What it is

Sudo before 1.8.28 mishandles a crafted user ID passed to sudo -u, allowing an attacker who already holds a Runas ALL sudoer account to bypass policy blacklists and session PAM modules and to cause incorrect logging. The flaw undermines the intended restriction that a sudoer cannot run commands as root, so a limited sudo privilege can be escalated to full root execution.

Impact

An attacker with a Runas ALL sudoer entry gains root-level command execution and can evade logging and PAM session controls, effectively converting a restricted sudo grant into full administrative control of the host.

Attack surface

Reached locally by invoking sudo with a crafted numeric user ID such as sudo -u \#$((0xffffffff)); no user interaction beyond running the command is needed, but the attacker must already have a sudoers entry granting Runas ALL, so authentication as that sudoer account is required.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.63764, 99.18th percentile) and an oss-security reference is tagged Exploit, indicating public exploit detail is available. No ransomware group is documented as using it.

What to do

  • Upgrade sudo to 1.8.28 or later on all affected systems, prioritizing Red Hat, Debian, Ubuntu, openSUSE and Fedora hosts.
  • Audit sudoers for Runas ALL entries and tighten them to the specific target users or commands actually required.
  • Remove or restrict !root blacklist-only configurations that rely on denying root, since this flaw bypasses them.
  • Monitor vendor errata (RHSA/RHBA, Debian LTS, openSUSE, Fedora) and apply the corresponding package updates.
  • Verify sudo version and sudoers policy on NetApp and container platform images that bundle sudo.

Detection

  • Search sudo logs for invocations using numeric or negative user IDs, especially values like 4294967295 or -1, in sudo -u arguments.
  • Alert on sudo commands where the logged target user does not match the expected Runas policy for that account.
  • Correlate sudo events showing root command execution by accounts whose sudoers entry should not permit root.
  • Hunt process accounting or auditd records for sudo -u with hex or arithmetic expressions in the user argument.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

15 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00042.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00047.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/154853/Slackware-Security-Advisory-sudo-Updates.html Third Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2019/10/14/1 ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/10/24/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/10/29/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2021/09/14/2 Mailing ListThird Party Advisory
https://access.redhat.com/errata/RHBA-2019:3248 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3197 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3204 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3205 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3209 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3219 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3278 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3694 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3754 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3755 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3895 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3916 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3941 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:4191 Third Party Advisory
https://access.redhat.com/errata/RHSA-2020:0388 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/10/msg00022.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IP7SIOAVLSKJGMTIULX52VQ
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPLAM57TPJQGKQMNG6RHFBL
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUVAOZBYUHZS56A5FQSCDVG
https://resources.whitesourcesoftware.com/blog-whitesource/new-vulnerability-in-sudo-cve-2019-14287 Third Party Advisory
https://seclists.org/bugtraq/2019/Oct/20 Issue TrackingMailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Oct/21 Issue TrackingMailing ListThird Party Advisory
https://security.gentoo.org/glsa/202003-12 Third Party Advisory
https://security.netapp.com/advisory/ntap-20191017-0003/ Third Party Advisory
https://support.f5.com/csp/article/K53746212?utm_source=f5support&amp%3Butm_medium=RSS
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03976en_us Third Party Advisory
https://usn.ubuntu.com/4154-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4543 Third Party Advisory
https://www.openwall.com/lists/oss-security/2019/10/15/2 Mailing ListPatchThird Party Advisory
https://www.sudo.ws/alerts/minus_1_uid.html ExploitVendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00042.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00047.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/154853/Slackware-Security-Advisory-sudo-Updates.html Third Party AdvisoryVDB Entry

Track CVE-2019-14287 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2019-14287), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.