Sudo sudoedit "--" argument injection
A user-controlled editor variable can carry an extra "--", which defeats the option separator sudoedit places before its approved file list, appending an arbitrary file that is then edited as root.
- Product
- Sudo (sudoedit / sudo -e)
- Vendor
- Todd C. Miller / Sudo project
- Affected
- 1.8.0 through 1.9.12p1
- Fixed in
- 1.9.12p2
- Weakness
- CWE-88
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 18 Jan 2023
Classified as
References
Related CVEs
- CVE-2026-15410high 7.22026
SonicWall SMA1000 remove_hotfix path traversal to root execution
The privileged hotfix-removal workflow accepts traversal segments in a hotfix path, then marks the resolved file executable and runs it with Bash as root.
- CVE-2026-46300high 7.82026
Fragnesia: Linux shared-fragment marker loss
Socket-buffer coalescing can transfer page-backed fragment descriptors without their shared marker, causing later ESP processing to decrypt shared data in place.
- CVE-2025-32463critical 9.32025
chwoot: sudo chroot NSS privilege escalation
A user-controlled chroot can redirect privileged NSS configuration and shared-library loading before sudo completes its policy decision.
- CVE-2025-33073high 8.82025
Windows SMB marshalled-target reflection
An SMB target name can hide marshalled metadata that LSASS later strips, turning an attacker-routed hostname into a local target identity and reviving same-host authentication reflection when SMB signing is not enforced.