All vulnerabilities

Servers and applications

CVE-2023-22809

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may…

Severity
High 7.8
Published
18 Jan 2023
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.9.12
Sources
NVD

Affected software

SoftwareAffected versions
sudoServers and applications · cpe:a:sudo_project:sudo
  • From 1.8.0 before 1.9.12
  • Version 1.9.12
  • Version 1.9.12-p1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-22809
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-22809