# A flaw in Sudo, which is installed on almost every Linux OS, could let users run commands as “root” even when they are restricted; patched version now available

A vulnerability in Sudo, installed on almost every Linux OS, could let restricted users run commands as root; a patched version is now available.

Record as of 15 October 2019. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/946822.json>

## A flaw in Sudo, which is installed on almost every Linux OS, could let users run commands as “root” even when they are restricted; patched version now available

*as of 15 October 2019; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

The Hacker News · Mohit Kumar · [15 October 2019](/2019/10/15) · [Read original](https://thehackernews.com/2019/10/linux-sudo-run-as-root-flaw.html)

Attention [Linux](/entity/linux) Users!  —  A vulnerability has been discovered in Sudo—one of the most important, powerful …

**Context**

This is one data point in a long series: the corpus records an [almost three-year-old privilege escalation bug in the Linux kernel](/863576) disclosed in 2016, followed months later by a [nine-year-old kernel privilege-escalation bug](/876487) with its own official patch. The common thread is that the deepest layers of [Linux](/entity/linux) plumbing keep hiding decade-scale escalation flaws that only surface when researchers go looking.

Sudo is a sharper case than the kernel bugs because it ships on nearly every Linux distribution, so a single defect becomes universal exposure. That pattern repeats later in the coverage — a [now-fixed ten-year-old Sudo bug](/962691) granting root to any local user, confirmation that [the same class of Sudo flaw reaches macOS](/962781), and eventually [CopyFail](/1168099), another patched Linux escalation bug many distributions had still not fixed.

*First-order effects*

- Any Linux administrator who uses Sudo to restrict which commands users may run as root has a broken access control until they deploy the patched version that is now available.

*Second-order effects*

- Because Sudo sits on essentially every Linux install, distribution maintainers and downstream OS vendors all have to absorb and repackage the same patch on their own release cycles, leaving exposure windows that vary by distro — exactly the lag later seen with CopyFail.

*Third-order effects*

- If the pattern holds, ubiquitously shared open-source utilities become the highest-leverage audit targets: one researcher finding in Sudo cascades into forced patching across nearly every server, desktop, and embedded Linux system, and the corpus shows the follow-on disclosures did keep coming, including on macOS.

**The trend:** Security research is converging on the shared plumbing of open-source operating systems, where single privilege-escalation flaws in near-universal components like Sudo turn local bugs into ecosystem-wide patching events.

Related: [Linux](/entity/linux) · [Nominal versus usable openness](/concepts#nominal-versus-usable-openness) · [10-year-old Sudo bug allowed root access](/962691) · [Sudo vulnerability also impacts macOS](/962781) · [CopyFail Linux privilege escalation bug](/1168099)

**Entities**

- [Linux](/entity/linux)

**Related coverage**

- [Potential bypass of Runas user restrictions](https://www.sudo.ws/alerts/minus_1_uid.html) · sudo.ws · Todd C. Miller
- [Linux Sudo command bug enabled hackers to gain root access](https://www.theinquirer.net/inquirer/news/3082646/sudo-bug-linux-root-access) · Inquirer · Roland Moore-Colyer
- [One of Linux's most important commands had a glaring security flaw](https://www.engadget.com/2019/10/14/linux-unix-sudo-command-security-flaw/) · Engadget · Jon Fingas
- [sudo flaw allows any users to run commands as Root on Linux](https://securityaffairs.co/wordpress/92519/hacking/sudo-flaw-cve-2019-14287.html) · Security Affairs · Pierluigi Paganini
- [Linux/Unix exploit allows some restricted commands to be run as root without clearance](https://www.neowin.net/news/linuxunix-exploit-allows-some-restricted-commands-to-be-run-as-root-without-clearance) · Neowin · Ather Fawaz
- [Linux SUDO Bug Lets You Run Commands as Root, Most Installs Unaffected](https://www.bleepingcomputer.com/news/linux/linux-sudo-bug-lets-you-run-commands-as-root-most-installs-unaffected/) · BleepingComputer · Lawrence Abrams
- [Sudo utility hit by permission bypass vulnerability](http://www.bit-tech.net/news/tech/software/sudo-utility-hit-by-permission-bypass-vulnerability/1/) · bit-tech.net · Gareth Halfacree

**Discussion**

- @kennwhite Kenn White x · Cool bug, but periodic reminder that the line between local access and privilege escalation on most OS' is wafer thin. https://twitter.com/...
- @sneakerhax @sneakerhax x · After all these years it's still the simple shit that gets us https://thehackernews.com/...
- @chris_bloke Chris Samuel x · If you're using sudo... https://www.sudo.ws/... “When sudo is configured to allow a user to run commands as an arbitrary user via the ALL keyword in a Runas specification, it is possible to run commands as root by specifying the user ID -1 or 4294967295.”
- @tinkerfairy_net @tinkerfairy_net x · Please don't ever use “deny list"-type sudo rules. It's easier to get them wrong than right. The documentation even calls this out! https://twitter.com/...

**Relationships**

- [Sudo](/search?q=%40%22Sudo%22) controversy [Linux OS](/search?q=%40%22Linux+OS%22) · confirmed · A vulnerability in Sudo could let restricted users run commands as root on Linux OS.
- [Sudo](/search?q=%40%22Sudo%22) launch [patched version](/search?q=%40%22patched+version%22) · confirmed · A patched version of Sudo is now available to fix the privilege-escalation vulnerability.

**Similar stories**

- [A now-fixed 10-year-old bug in Sudo used in several versions of Linux allowed any local user to gain root access](https://texxr.com/962691/sudo-flaw-allowed-local-users-to-gain-root) · BleepingComputer, 1 February 2021 · [publisher](<https://www.bleepingcomputer.com/news/security/new-linux-sudo-flaw-lets-local-users-gain-root-privileges/>) · 69%
- [Researchers detail CopyFail, a now-patched Linux vulnerability that lets unprivileged users gain admin access, as many distributions have yet to apply the fixes](https://texxr.com/1168099/linux-copyfail-vulnerability-allows-root-access) · Ars Technica, 1 May 2026 · [publisher](<https://arstechnica.com/security/2026/04/as-the-most-severe-linux-threat-in-years-surfaces-the-world-scrambles/>) · 61%
- [Researchers disclose an almost three year old privilege escalation bug in the Linux kernel that imperils millions of PCs, servers, and Android phones](https://texxr.com/863576/researchers-disclose-linux-privilege-escalation-bug) · Ars Technica, 20 January 2016 · [publisher](<http://arstechnica.com/security/2016/01/linux-bug-imperils-tens-of-millions-of-pcs-servers-and-android-phones/>) · 60%
- [Researchers find a 12-year-old vulnerability in Polkit that local attackers can use to gain root privileges on all major Linux distributions; an exploit is out](https://texxr.com/1158536/polkit-12-year-vulnerability-allows-local-root-access) · BleepingComputer, 27 January 2022 · [publisher](<https://www.bleepingcomputer.com/news/security/linux-system-service-bug-gives-you-root-on-every-major-distro/>) · 60%
- [A researcher has discovered that the recently disclosed Sudo vulnerability, which can be exploited to grant root access to any local user, also impacts macOS](https://texxr.com/962781/sudo-vulnerability-impacts-macos-grants-root) · ZDNet, 3 February 2021 · [publisher](<https://www.zdnet.com/article/recent-root-giving-sudo-bug-also-impacts-macos/>) · 58%
- [“Stack Clash” memory management flaw found in Linux, BSD, Solaris, allows privilege escalation to root; patches are available](https://texxr.com/919944/stack-clash-flaw-allows-privilege-escalation) · The New Stack, 21 June 2017 · [publisher](<http://thenewstack.io/linux-bsd-solaris-servers-risk-compromise-stack-clash-flaw/>) · 58%
- [Wiz researchers say two vulnerabilities in the OverlayFS filesystem module in Ubuntu may allow unprivileged local users to gain elevated privileges](https://texxr.com/842551/ubuntu-overlayfs-flaws-allow-privilege-escalation) · BleepingComputer, 28 July 2023 · [publisher](<https://www.bleepingcomputer.com/news/security/almost-40-percent-of-ubuntu-users-vulnerable-to-new-privilege-elevation-flaws/>) · 55%
- [Flaw discovered in Kubernetes lets any user gain full admin privileges on any compute node being run in a Kubernetes cluster; patched versions are available](https://texxr.com/936292/kubernetes-flaw-allows-node-admin-privilege-escalation) · ZDNet, 5 December 2018 · [publisher](<http://www.zdnet.com/article/kubernetes-first-major-security-hole-discovered/>) · 55%
- [Researchers detail two new local privilege escalation vulnerabilities, one in recent builds of Windows 10 and the preview of Windows 11, and the other in Linux](https://texxr.com/968696/researchers-discover-local-privilege-escalation-flaws) · Ars Technica, 21 July 2021 · [publisher](<https://arstechnica.com/gadgets/2021/07/separate-eop-flaws-let-hackers-gain-full-control-of-windows-and-linux-systems/>) · 55%
- [Researchers find serious nine-year old privilege-escalation bug in Linux kernel, official patch released this week](https://texxr.com/876487/nine-year-linux-privilege-bug-gets-patch) · Ars Technica, 23 October 2016 · [publisher](<http://arstechnica.com/security/2016/10/most-serious-linux-privilege-escalation-bug-ever-is-under-active-exploit/>) · 55%
- [Multiple OSes including Windows, macOS, and Linux were affected by a serious security flaw caused by developers misinterpreting chipmakers' documentation](https://texxr.com/929436/major-os-vendors-patch-security-flaw-from-doc-misread) · ZDNet, 10 May 2018 · [publisher](<http://www.zdnet.com/article/microsoft-windows-apple-macos-linux-bsd-all-hit-by-same-serious-security-flaw/>) · 54%
- [Command execution flaw found in Exim 4.87 to 4.91 that could affect up to 4.7M machines; flaw was fixed in version 4.92 but never identified as a vulnerability](https://texxr.com/942517/exim-command-execution-flaw-affected-millions) · Ars Technica, 7 June 2019 · [publisher](<https://arstechnica.com/information-technology/2019/06/millions-of-machines-affected-by-command-execution-flaw-in-exim-mail-server/>) · 54%
- [Linux developers fix Dirty Pipe, a high-severity vulnerability in the kernel that let hackers carry out a host of malicious actions, like installing backdoors](https://texxr.com/976683/linux-developers-fix-dirty-pipe-vulnerability) · Ars Technica, 8 March 2022 · [publisher](<https://arstechnica.com/information-technology/2022/03/linux-has-been-bitten-by-its-most-high-severity-vulnerability-in-years/>) · 53%
- [Critical security hole uncovered in popular Unix/Linux shell Bash, affecting many web apps and servers](https://texxr.com/1206355/bash-security-hole-affects-web-servers) · ZDNet, 24 September 2014 · [publisher](<http://www.zdnet.com/unixlinux-bash-critical-security-hole-uncovered-7000034021/>) · 53%
- [FreeBSD bug gives untrusted root access](https://texxr.com/1186465/freebsd-bug-grants-root-access) · The Register, 1 December 2009 · [publisher](<http://www.theregister.co.uk/2009/12/01/freebsd_root_bug/>) · 52%
- [Qualys researchers say an OpenSSH flaw can let attackers remotely compromise servers and allow unauthenticated RCE as root; over 14M servers may be vulnerable](https://texxr.com/1155377/openssh-flaw-allows-unauthenticated-rce-on-millions) · CSO, 3 July 2024 · [publisher](<https://www.csoonline.com/article/2511351/openssh-vulnerability-regresshion-puts-millions-of-servers-at-risk.html>) · 52%
- [Android's November security patch does not include fix for critical privilege-escalation bug in Linux kernel; official Linux patch was released last month](https://texxr.com/877314/november-android-patch-misses-linux-privilege-fix) · Ars Technica, 8 November 2016 · [publisher](<http://arstechnica.com/security/2016/11/fix-for-critical-android-rooting-bug-is-a-no-show-in-november-patch-release/>) · 51%
- [Bug exposes eight years of Linux kernel](https://texxr.com/1242335/bug-exposes-eight-years-of-linux-kernel) · The Register, 14 August 2009 · [publisher](<http://www.theregister.co.uk/2009/08/14/critical_linux_bug/>) · 51%
- [F5 disclosed and patched an actively exploited critical bug last week in its BIG-IP products that act as load balancers and firewalls within enterprise networks](https://texxr.com/978739/f5-patches-actively-exploited-big-ip-critical-bug) · Ars Technica, 10 May 2022 · [publisher](<https://arstechnica.com/information-technology/2022/05/hackers-are-actively-exploiting-big-ip-vulnerability-with-a-9-8-severity-rating/>) · 50%
- [TCP Flaw in Linux Servers Allows Web Traffic Hijacking](https://texxr.com/872956/tcp-flaw-allows-web-traffic-hijacking-on-linux) · Softpedia News, 12 August 2016 · [publisher](<http://news.softpedia.com/news/tcp-flaw-in-linux-servers-allows-web-traffic-hijacking-507182.shtml>) · 50%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 15 October 2019; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
