{"id":"CVE-2025-11226","aliases":["CVE-2025-11226","GHSA-25qh-j22f-pwp8"],"related":[],"kind":"vulnerability","state":"published","title":"Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino","summary":"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\n\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\n\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.","source":"cvelist"},{"lang":"en","text":"QOS.CH logback-core versions up to 1.5.18 contain an ACE vulnerability in conditional configuration file processing in Java applications. This vulnerability allows an attacker to execute arbitrary code by compromising an existing logback configuration file or by injecting a malicious environment variable before program execution.\n\nA successful attack requires the Janino library and Spring Framework to be present on the user's class path. Additionally, the attacker must have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privileges.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad ACE en el procesamiento condicional de archivos de configuración por QOS.CH logback-core hasta la versión 1.5.18 inclusive en aplicaciones Java, permite a un atacante ejecutar código arbitrario comprometiendo un archivo de configuración logback existente o inyectando una variable de entorno antes de la ejecución del programa.\n\nUn ataque exitoso requiere la presencia de la biblioteca Janino y Spring Framework en el classpath del usuario. Además, el atacante debe tener acceso de escritura a un archivo de configuración. Alternativamente, el atacante podría inyectar una variable de entorno maliciosa que apunte a un archivo de configuración malicioso. En ambos casos, el ataque requiere privilegios existentes.","source":"nvd"}],"published":"2025-10-01T07:26:12.567Z","modified":"2026-10-09T09:10:00.213Z","severity":{"scorer":"NCSC.ch","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},"severities":[{"scorer":"NCSC.ch","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"maven","introduced":"0.9.20","lastAffected":"1.5.18","status":"affected"},{"version":"1.5.19","status":"unaffected"},{"version":"1.3.16","status":"unaffected"}],"vendor":"QOS.CH Sarl","product":"Logback-core","platforms":["Java"],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.4.0","status":"affected","fixed":"1.5.19"}],"ecosystem":"Maven","package":"ch.qos.logback:logback-core","purl":"pkg:maven/ch.qos.logback/logback-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.16"}],"ecosystem":"Maven","package":"ch.qos.logback:logback-core","purl":"pkg:maven/ch.qos.logback/logback-core","source":"ghsa"}],"references":[{"url":"https://logback.qos.ch/news.html#1.5.19","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://logback.qos.ch/news.html#1.3.16","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11226","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/qos-ch/logback/issues/974","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/qos-ch/logback/commit/61f6a2544f36b3016e0efd434ee21f19269f1df7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/qos-ch/logback","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/qos-ch/logback/releases/tag/v_1.5.19","tags":["web"],"sources":["ghsa"]}],"credits":["Heihu577"],"assigner":"NCSC.ch","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-25T16:04:36.111Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-11226","url":"https://www.cve.org/CVERecord?id=CVE-2025-11226","licence":"CVE Terms of Use","modified":"2026-06-25T16:04:42.152Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-25qh-j22f-pwp8","url":"https://github.com/advisories/GHSA-25qh-j22f-pwp8","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:29.081Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-11226","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11226","licence":"Public domain","modified":"2026-10-09T09:10:00.213Z"}],"updatedAt":"2026-11-25T22:59:05.377Z","epss":{"score":0.00245,"percentile":0.09433,"date":"2026-11-30T12:00:22.000Z"}}