# CVE-2025-11226: Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino

- Severity: High 7.0 (CVSS:4.0, scored by NCSC.ch) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-10-01T07:26:12.567Z
- Modified: 2026-10-09T09:10:00.213Z
- Also known as: GHSA-25qh-j22f-pwp8
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: NCSC.ch

## 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.



A 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 
configuration file. Alternatively, the attacker could inject a malicious 
environment variable pointing to a malicious configuration file. In both 
cases, the attack requires existing privilege.

(As written by CVE List.)

## Affected

- QOS.CH Sarl Logback-core: from 0.9.20 up to 1.5.18 (not affected: 1.5.19; 1.3.16)
- ch.qos.logback:logback-core (Maven): from 1.4.0 before 1.5.19; before 1.3.16

## Every score

- NCSC.ch: CVSS:4.0 7.0 High `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://logback.qos.ch/news.html#1.5.19> (web)
- <https://logback.qos.ch/news.html#1.3.16> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-11226> (advisory)
- <https://github.com/qos-ch/logback/issues/974> (web)
- <https://github.com/qos-ch/logback/commit/61f6a2544f36b3016e0efd434ee21f19269f1df7> (web)
- <https://github.com/qos-ch/logback> (package)
- <https://github.com/qos-ch/logback/releases/tag/v_1.5.19> (web)

## Sources

- CVE List: [CVE-2025-11226](https://www.cve.org/CVERecord?id=CVE-2025-11226), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-25qh-j22f-pwp8](https://github.com/advisories/GHSA-25qh-j22f-pwp8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-11226](https://nvd.nist.gov/vuln/detail/CVE-2025-11226), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-11226 · Whole record: https://cve.day/CVE-2025-11226.json · Rebuilt by cve.day 2026-11-25T22:59:05.377Z
