{"answers":{"affected":"2 open source packages ship an affected version, including ch.qos.logback:logback-core.","exploited":"There is no known exploitation of CVE-2026-1225 in the wild and no public exploit code.","fix":"Upgrade ch.qos.logback:logback-core to 1.5.25 or later.","what":"CVE-2026-1225 is a low-severity code injection vulnerability in QOS.CH Sarl Logback-core, published on 22 Jan 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-1225 and fix it if it is affected.\n\nWhat it is: CVE-2026-1225 is a low-severity code injection vulnerability in QOS.CH Sarl Logback-core, published on 22 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-1225 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ch.qos.logback:logback-core (Maven): affected all versions; fixed in 1.5.25\n- ch.qos.logback:logback-core (Maven): affected all versions; fixed in 1.5.25\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-1225/ (Markdown: https://insights.sbomify.com/CVE-2026-1225/index.md)","id":"CVE-2026-1225","markdown":"https://insights.sbomify.com/CVE-2026-1225/index.md","name":"CVE-2026-1225","record":{"aliases":["CLEANSTART-2026-JS07100","CLEANSTART-2026-MZ20029","DEBIAN-CVE-2026-1225","ECHO-46b9-1587-a579","GHSA-qqpg-mvqg-649v","MINI-23rv-px9m-v8qv","MINI-2qg8-jwr8-9rr9","MINI-3p3w-hwgf-jvv2","MINI-3qh2-2rwh-fqvv","MINI-4gvc-pcwm-xp32","MINI-4mjg-2vrf-8jcm","MINI-4rqc-92pp-7jv6","MINI-5pfj-9hrc-35cr","MINI-6hw5-q8mj-cfhr","MINI-7mrg-cm6w-4cxp","MINI-87wv-9pj9-8hmm","MINI-8gf6-4v48-fpq9","MINI-8jf2-vrfc-c7fj","MINI-ch8c-87p9-xhfx","MINI-f9gx-5gc7-92mq","MINI-fpwx-rm23-72xx","MINI-m28m-qq5g-3383","MINI-m978-fgc5-grvf","MINI-q55q-px32-q8cj","MINI-qf96-r2f2-9fhc","MINI-qj5w-wg5p-8cgx","MINI-rgxg-22qr-jjr8","MINI-vg9f-88v6-gr7j","RHLW-2026-730f8211b080b586","ROOT-APP-MAVEN-CVE-2026-1225","SUSE-SU-2026:0361-1","UBUNTU-CVE-2026-1225","openSUSE-SU-2026:10114-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Java logging library","requires_auth":"high_privilege","summary":"Attackers with write access to logback.xml can instantiate arbitrary classpath classes, potentially leading to code execution in Java applications.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NCSC.ch","cpe":[],"cvss":{"score":1.8,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/S:N/AU:N/RE:M/U:Green","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"ACE vulnerability in configuration file processing  by QOS.CH logback-core up to and including version 1.5.24 in Java applications, allows an attacker to instantiate classes already present on the class path by compromising an existing logback configuration file.\n\nThe instantiation of a potentially malicious Java class requires that said class is present on the user's class-path. In addition, the attacker must  have write access to a \nconfiguration file. However, after successful instantiation, the instance is very likely to be discarded with no further ado.","ecosystems":["Maven","openSUSE:Leap 15.6","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":"Malicious logback.xml configuration file allows instantiation of arbitrary classes","id":"CVE-2026-1225","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Code injection in EcoStruxure Building Operation Webstation","id":"CVE-2026-1226"},"packages":[{"ecosystem":"Maven","fixed":["1.5.25"],"introduced":["0"],"last_affected":[],"package":"ch.qos.logback:logback-core","purl":null,"source":"GHSA-qqpg-mvqg-649v"},{"ecosystem":"Maven","fixed":["1.5.25"],"introduced":["0"],"last_affected":[],"package":"ch.qos.logback:logback-core","purl":"pkg:maven/ch.qos.logback/logback-core","source":"GHSA-qqpg-mvqg-649v"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.2.13-150200.3.16.1"],"introduced":["0"],"last_affected":[],"package":"logback","purl":"pkg:rpm/opensuse/logback\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0361-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.2.13-2.1"],"introduced":["0"],"last_affected":[],"package":"logback","purl":"pkg:rpm/opensuse/logback\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10114-1"}],"prev":{"headline":"Tanium addressed an uncontrolled resource consumption vulnerability in Discover.","id":"CVE-2026-1224"},"products":["Logback-core"],"published":"2026-01-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-01-22","vendors":["QOS.CH Sarl"]},"summary":"Attackers with write access to logback.xml can instantiate arbitrary classpath classes, potentially leading to code execution in Java applications.","url":"https://insights.sbomify.com/CVE-2026-1225/"}