{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40228 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-40228 is a low-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-40228 and fix it if it is affected.\n\nWhat it is: CVE-2026-40228 is a low-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-40228 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-40228/ (Markdown: https://insights.sbomify.com/CVE-2026-40228/index.md)","id":"CVE-2026-40228","markdown":"https://insights.sbomify.com/CVE-2026-40228/index.md","name":"CVE-2026-40228","record":{"aliases":["DEBIAN-CVE-2026-40228","GHSA-grjh-583f-v73h","UBUNTU-CVE-2026-40228"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"systemd logging service","requires_auth":"none","summary":"systemd-journald may leak ANSI escape sequences to user terminals via logger commands when ForwardToWall is enabled.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"systemd","vendor":"systemd_project"}],"cvss":{"score":2.9,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-669","name":"Incorrect Resource Transfer Between Spheres"}],"description":"In systemd 259, systemd-journald can send ANSI escape sequences to the terminals of arbitrary users when a \"logger -p emerg\" command is executed, if ForwardToWall=yes is set.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Information disclosure in systemd","id":"CVE-2026-40228","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"systemd_project:systemd","products":["systemd_project:systemd"],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Helpy 2.8.0 - Stored XSS in post author display via PostsHelper","id":"CVE-2026-40229"},"packages":[],"prev":{"headline":"Denial of service in systemd","id":"CVE-2026-40227"},"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":"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":"partial"},"state":"PUBLISHED","updated":"2026-05-05","vendors":["systemd"]},"summary":"systemd-journald may leak ANSI escape sequences to user terminals via logger commands when ForwardToWall is enabled.","url":"https://insights.sbomify.com/CVE-2026-40228/"}