{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26604 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2023-26604 is a high-severity vulnerability in Debian Debian Linux, published on 3 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-26604 and fix it if it is affected.\n\nWhat it is: CVE-2023-26604 is a high-severity vulnerability in Debian Debian Linux, published on 3 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26604 exists.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-26604/ (Markdown: https://insights.sbomify.com/CVE-2023-26604/index.md)","id":"CVE-2023-26604","markdown":"https://insights.sbomify.com/CVE-2023-26604/index.md","name":"CVE-2023-26604","record":{"aliases":["ALSA-2023:3837","CLSA-2023-1679350239","CLSA-2023-1679350567","CLSA-2023-1688678794","CLSA-2023-1698690423","CLSA-2024-1711562715","CLSA-2026-1777378650","DEBIAN-CVE-2023-26604","DLA-3377-1","GHSA-8989-8fhv-vq42","OESA-2023-1166","OESA-2023-1167","RHSA-2023:3837","RHSA-2024:7705","RLSA-2023:3837","SUSE-SU-2023:1622-1","UBUNTU-CVE-2023-26604"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"systemd init system","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to root via systemctl status if sudoers allow it and less is not secured.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"systemd","vendor":"systemd_project"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_els:7","Rocky Linux:8","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2023-26604","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","systemd_project:systemd"],"type":"privilege_escalation","year":"2023"},"n_packages":39,"n_references":6,"next":{"headline":"Use after free in n/a","id":"CVE-2023-26605"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/almalinux/systemd","source":"ALSA-2023:3837"},{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-container","purl":"pkg:rpm/almalinux/systemd-container","source":"ALSA-2023:3837"},{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-devel","purl":"pkg:rpm/almalinux/systemd-devel","source":"ALSA-2023:3837"},{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-remote","purl":"pkg:rpm/almalinux/systemd-journal-remote","source":"ALSA-2023:3837"},{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-libs","purl":"pkg:rpm/almalinux/systemd-libs","source":"ALSA-2023:3837"},{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-pam","purl":"pkg:rpm/almalinux/systemd-pam","source":"ALSA-2023:3837"},{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-tests","purl":"pkg:rpm/almalinux/systemd-tests","source":"ALSA-2023:3837"},{"ecosystem":"AlmaLinux:8","fixed":["239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-udev","purl":"pkg:rpm/almalinux/systemd-udev","source":"ALSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/redhat/systemd","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-container","purl":"pkg:rpm/redhat/systemd-container","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-container-debuginfo","purl":"pkg:rpm/redhat/systemd-container-debuginfo","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-debuginfo","purl":"pkg:rpm/redhat/systemd-debuginfo","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-debugsource","purl":"pkg:rpm/redhat/systemd-debugsource","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-devel","purl":"pkg:rpm/redhat/systemd-devel","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-remote","purl":"pkg:rpm/redhat/systemd-journal-remote","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-remote-debuginfo","purl":"pkg:rpm/redhat/systemd-journal-remote-debuginfo","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-libs","purl":"pkg:rpm/redhat/systemd-libs","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-libs-debuginfo","purl":"pkg:rpm/redhat/systemd-libs-debuginfo","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-pam","purl":"pkg:rpm/redhat/systemd-pam","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-pam-debuginfo","purl":"pkg:rpm/redhat/systemd-pam-debuginfo","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-tests","purl":"pkg:rpm/redhat/systemd-tests","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-tests-debuginfo","purl":"pkg:rpm/redhat/systemd-tests-debuginfo","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-udev","purl":"pkg:rpm/redhat/systemd-udev","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd-udev-debuginfo","purl":"pkg:rpm/redhat/systemd-udev-debuginfo","source":"RHSA-2023:3837"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"libgudev1","purl":"pkg:rpm/redhat/libgudev1","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"libgudev1-devel","purl":"pkg:rpm/redhat/libgudev1-devel","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/redhat/systemd","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-debuginfo","purl":"pkg:rpm/redhat/systemd-debuginfo","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-devel","purl":"pkg:rpm/redhat/systemd-devel","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-gateway","purl":"pkg:rpm/redhat/systemd-journal-gateway","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-libs","purl":"pkg:rpm/redhat/systemd-libs","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-networkd","purl":"pkg:rpm/redhat/systemd-networkd","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-python","purl":"pkg:rpm/redhat/systemd-python","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-resolved","purl":"pkg:rpm/redhat/systemd-resolved","source":"RHSA-2024:7705"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:219-78.el7_9.11"],"introduced":["0"],"last_affected":[],"package":"systemd-sysv","purl":"pkg:rpm/redhat/systemd-sysv","source":"RHSA-2024:7705"},{"ecosystem":"Rocky Linux:8","fixed":["0:239-74.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/rocky-linux/systemd?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2023:3837"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["228-157.52.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:1622-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["228-157.52.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:1622-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["228-157.52.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:1622-1"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2023-26603"},"products":["n/a"],"published":"2023-03-03","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Local attackers can escalate privileges to root via systemctl status if sudoers allow it and less is not secured.","url":"https://insights.sbomify.com/CVE-2023-26604/"}