# CVE-2023-26604: systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in whic…

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-03-03T00:00:00.000Z
- Modified: 2026-10-14T23:17:15.447Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in which the "systemctl status" command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because less executes as root when the terminal size is too small to show the complete systemctl output.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- debian debian_linux: 10.0
- systemd_project systemd: before 246.7

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/174130/systemd-246-Local-Root-Privilege-Escalation.html> (exploit, third-party-advisory)
- <https://medium.com/%40zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7> (third-party-advisory)
- <https://github.com/systemd/systemd/blob/main/NEWS#L4335-L4340> (release-notes)
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00032.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230505-0009/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2023-26604](https://www.cve.org/CVERecord?id=CVE-2023-26604), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-26604](https://nvd.nist.gov/vuln/detail/CVE-2023-26604), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2023-26604 · Whole record: https://cve.day/CVE-2023-26604.json · Rebuilt by cve.day 2026-11-25T22:58:22.261Z
