CVE-2010-0426 is a local privilege escalation flaw in sudo’s -e option (sudoedit) affecting sudo 1.6.x before 1.6.9p21 and 1.7.x before 1.7.2p4. The issue arises from incorrect command-matching logic for pseudo-commands defined in sudoers. Sudo treats sudoedit as a pseudo-command rather than a normal path-based executable. In vulnerable versions, the pseudo-command matching logic was only applied when the user-supplied command contained no slash characters. If a user invoked a command such as "sudo ./sudoedit", sudo instead followed the normal command-matching path and used stat(2)-based checks, allowing "./sudoedit" supplied by the user to match the sudoers pseudo-command entry "sudoedit". As a result, a local user who is authorized in sudoers to run sudoedit can place a crafted executable named sudoedit in an arbitrary directory, such as the current working directory or home directory, and execute arbitrary commands under the target account.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a local privilege escalation exploit for CVE-2010-0426, targeting vulnerable versions of sudo (1.6.x <= 1.6.9p21 and 1.7.x <= 1.7.2p4) on Linux. The exploit is implemented as a Bash script ('exploit.sh') that creates a malicious 'sudoedit' script in /tmp, which, when executed via the vulnerable sudoedit configuration, spawns a root shell. The Dockerfile sets up a vulnerable environment with the affected sudo version and a user with NOPASSWD sudoedit rights for /etc/fstab, allowing for easy testing of the exploit. The README provides detailed setup and usage instructions. The main exploit capability is local privilege escalation to root by exploiting improper handling of the sudoedit command. The key fingerprintable endpoints are the temporary file '/tmp/sudoedit' (malicious script) and the target file '/etc/fstab' (used to trigger sudoedit). The repository is structured for educational and testing purposes, with clear separation between environment setup (Dockerfile), exploit code (exploit.sh), and documentation (README.md).
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.