{"answers":{"affected":"4 open source packages ship an affected version, including ch.qos.logback:logback-core.","exploited":"There is no known exploitation of CVE-2025-11226 in the wild and no public exploit code.","fix":"Upgrade ch.qos.logback:logback-core to a fixed version for your release line: 1.3.16 or 1.5.19.","what":"CVE-2025-11226 is a high-severity code injection vulnerability in QOS.CH Sarl Logback-core, published on 1 Oct 2025. 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-2025-11226 and fix it if it is affected.\n\nWhat it is: CVE-2025-11226 is a high-severity code injection vulnerability in QOS.CH Sarl Logback-core, published on 1 Oct 2025. 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-2025-11226 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.3.16\n- ch.qos.logback:logback-core (Maven): affected all versions; fixed in 1.3.16\n- ch.qos.logback:logback-core (Maven): affected from 1.4.0; fixed in 1.5.19\n- ch.qos.logback:logback-core (Maven): affected from 1.4.0; fixed in 1.5.19\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-2025-11226/ (Markdown: https://insights.sbomify.com/CVE-2025-11226/index.md)","id":"CVE-2025-11226","markdown":"https://insights.sbomify.com/CVE-2025-11226/index.md","name":"CVE-2025-11226","record":{"aliases":["CLEANSTART-2026-JM74413","CLEANSTART-2026-YC63582","CLSA-2025-1765930089","CLSA-2026-1784769539","CLSA-2026-1785917146","CLSA-2026-1786355016","DEBIAN-CVE-2025-11226","ECHO-4f7a-7521-ba5b","GHSA-25qh-j22f-pwp8","MINI-244g-4x74-9g8g","MINI-2w7m-55ch-j85h","MINI-436x-868w-v65w","MINI-46ch-w7q2-4ghf","MINI-4hcx-59r2-r876","MINI-53cv-fxhm-rm4g","MINI-5cxm-hmqq-qcrv","MINI-87hc-v469-5p9p","MINI-8vgf-325r-65v5","MINI-9cjh-f83p-9696","MINI-9j73-gmq7-pf66","MINI-9wc2-hq9m-3w49","MINI-cvx5-9449-3whp","MINI-h9vw-4r72-xcg6","MINI-mw36-wg87-qp73","MINI-q4pc-26xg-j5v3","MINI-q5m9-mfj7-8j2m","MINI-q9jw-92j4-7fpj","MINI-w69v-h4rc-gpmx","ROOT-APP-MAVEN-CVE-2025-11226","SUSE-SU-2025:03456-1","UBUNTU-CVE-2025-11226"],"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 existing privileges can execute arbitrary code in Java applications using Logback, Janino, and Spring by manipulating configuration files or environment variables.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NCSC.ch","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/S:P/AU:N/RE:M/U:Green","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"ACE vulnerability in conditional configuration file processing  by QOS.CH logback-core up to and including version 1.5.18 in Java applications, allows an attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution.\n\nA successful attack requires the presence of Janino library and Spring Framework to be present on the user's class path. In addition, the attacker must  have write access to a \nconfiguration file. Alternatively, the attacker could inject a malicious \nenvironment variable pointing to a malicious configuration file. In both \ncases, the attack requires existing privilege.","ecosystems":["Maven","openSUSE:Leap 15.6"],"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":"Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino","id":"CVE-2025-11226","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":5,"n_references":2,"next":{"headline":"Missing authorization in GiveWP – Donation Plugin and Fundraising Platform","id":"CVE-2025-11227"},"packages":[{"ecosystem":"Maven","fixed":["1.3.16"],"introduced":["0"],"last_affected":[],"package":"ch.qos.logback:logback-core","purl":null,"source":"GHSA-25qh-j22f-pwp8"},{"ecosystem":"Maven","fixed":["1.3.16"],"introduced":["0"],"last_affected":[],"package":"ch.qos.logback:logback-core","purl":"pkg:maven/ch.qos.logback/logback-core","source":"GHSA-25qh-j22f-pwp8"},{"ecosystem":"Maven","fixed":["1.5.19"],"introduced":["1.4.0"],"last_affected":[],"package":"ch.qos.logback:logback-core","purl":null,"source":"GHSA-25qh-j22f-pwp8"},{"ecosystem":"Maven","fixed":["1.5.19"],"introduced":["1.4.0"],"last_affected":[],"package":"ch.qos.logback:logback-core","purl":"pkg:maven/ch.qos.logback/logback-core","source":"GHSA-25qh-j22f-pwp8"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.2.13-150200.3.13.1"],"introduced":["0"],"last_affected":[],"package":"logback","purl":"pkg:rpm/opensuse/logback\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:03456-1"}],"prev":{"headline":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","id":"CVE-2025-11224"},"products":["Logback-core"],"published":"2025-10-01","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":"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-06-25","vendors":["QOS.CH Sarl"]},"summary":"Attackers with existing privileges can execute arbitrary code in Java applications using Logback, Janino, and Spring by manipulating configuration files or environment variables.","url":"https://insights.sbomify.com/CVE-2025-11226/"}