{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40224 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40224 is a medium-severity vulnerability in Systemd Project Systemd, published on 10 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-40224 and fix it if it is affected.\n\nWhat it is: CVE-2026-40224 is a medium-severity vulnerability in Systemd Project Systemd, published on 10 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-40224 in the wild and no public exploit code.\n\nAffected product: Systemd Project Systemd. 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-2026-40224/ (Markdown: https://insights.sbomify.com/CVE-2026-40224/index.md)","id":"CVE-2026-40224","markdown":"https://insights.sbomify.com/CVE-2026-40224/index.md","name":"CVE-2026-40224","record":{"aliases":["DEBIAN-CVE-2026-40224","GHSA-6pwp-j5vg-5j6m","GHSA-jf3x-2pf6-c45w","openSUSE-SU-2026:10840-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"systemd init system","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to root via systemd-machined varlink interface in systemd versions prior to 260.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"systemd","vendor":"systemd_project"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"In systemd 259 before 260, there is local privilege escalation in systemd-machined because varlink can be used to reach the root namespace.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Privilege escalation in systemd","id":"CVE-2026-40224","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"systemd_project:systemd","products":["systemd_project:systemd"],"type":"privilege_escalation","year":"2026"},"n_packages":1,"n_references":1,"next":{"headline":"Privilege escalation in systemd","id":"CVE-2026-40225"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["260.1-2.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/opensuse/systemd\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10840-1"}],"prev":{"headline":"Denial of service in systemd","id":"CVE-2026-40223"},"products":["systemd"],"published":"2026-04-10","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2015-7510","kev_date_added":null,"published":"2017-09-25"},{"cvss_score":9.8,"headline":"Privilege escalation in n/a","id":"CVE-2017-1000082","kev_date_added":null,"published":"2017-07-07"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-10156","kev_date_added":null,"published":"2017-01-23"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2017-9445","kev_date_added":null,"published":"2017-06-28"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2017-9217","kev_date_added":null,"published":"2017-05-24"},{"cvss_score":6.4,"headline":"Privilege escalation in systemd","id":"CVE-2026-40225","kev_date_added":null,"published":"2026-04-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-10","vendors":["systemd"]},"summary":"Local attackers can escalate privileges to root via systemd-machined varlink interface in systemd versions prior to 260.","url":"https://insights.sbomify.com/CVE-2026-40224/"}