{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40226 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40226 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, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40226 and fix it if it is affected.\n\nWhat it is: CVE-2026-40226 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, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40226 exists.\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-40226/ (Markdown: https://insights.sbomify.com/CVE-2026-40226/index.md)","id":"CVE-2026-40226","markdown":"https://insights.sbomify.com/CVE-2026-40226/index.md","name":"CVE-2026-40226","record":{"aliases":["AZL-82646","CLSA-2026-1786542017","DEBIAN-CVE-2026-40226","ECHO-918a-fd9a-b2cd","GHSA-9mj4-rrc3-gjcx","GHSA-hc7r-6254-88w5","OESA-2026-2277","OESA-2026-2278","OESA-2026-2279","OESA-2026-2280","OESA-2026-2358","SUSE-SU-2026:22736-1","SUSE-SU-2026:22890-1","SUSE-SU-2026:2785-1","SUSE-SU-2026:2809-1","SUSE-SU-2026:3244-1","UBUNTU-CVE-2026-40226"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"systemd nspawn","requires_auth":"high_privilege","summary":"An attacker can escape to the host system via a crafted optional config file in systemd nspawn, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"systemd","vendor":"systemd_project"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-348","name":"Use of Less Trusted Source"}],"description":"In nspawn in systemd 233 through 259 before 260, an escape-to-host action can occur via a crafted optional config file.","ecosystems":["SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1"],"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 systemd","id":"CVE-2026-40226","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"systemd_project:systemd","products":["systemd_project:systemd"],"type":"privilege_escalation","year":"2026"},"n_packages":8,"n_references":1,"next":{"headline":"Denial of service in systemd","id":"CVE-2026-40227"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["246.16-150300.7.74.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2026:2785-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["249.17-150400.8.64.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:2809-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["249.17-150400.8.64.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:2809-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["249.17-150400.8.64.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:2809-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["254.27-150600.4.71.2"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:3244-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","fixed":["254.27-150600.4.71.2"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7","source":"SUSE-SU-2026:3244-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["254.27-4.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:22736-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["254.27-slfo.1.1_5.1"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/suse/systemd\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:22890-1"}],"prev":{"headline":"Privilege escalation in systemd","id":"CVE-2026-40225"},"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.7,"headline":"Privilege escalation in systemd","id":"CVE-2026-40224","kev_date_added":null,"published":"2026-04-10"},{"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":"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-04-14","vendors":["systemd"]},"summary":"An attacker can escape to the host system via a crafted optional config file in systemd nspawn, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-40226/"}