CVE-2025-11226: QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing
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.
Published Oct 1, 2025 · Updated Oct 31, 2025
Affected packages
ch.qos.logback:logback-core
- Ecosystem
- Maven
- Affected
- >= 1.4.0, < 1.5.19
- Fixed in
- 1.5.19
- Check
mvn dependency:tree -Dincludes=ch.qos.logback:logback-core
ch.qos.logback:logback-core
- Ecosystem
- Maven
- Affected
- < 1.3.16
- Fixed in
- 1.3.16
- Check
mvn dependency:tree -Dincludes=ch.qos.logback:logback-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
A 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.
Credited to chrismcmacken.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11226
- https://logback.qos.ch/news.html#1.5.19
- https://github.com/qos-ch/logback/commit/61f6a2544f36b3016e0efd434ee21f19269f1df7
- https://github.com/qos-ch/logback/releases/tag/v_1.5.19
- https://github.com/qos-ch/logback/issues/974
- https://logback.qos.ch/news.html#1.3.16
- https://github.com/advisories/GHSA-25qh-j22f-pwp8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-10532
Logback vulnerable to Object Injection through HardenedObjectInputStream modules
low2.9Jun 1, 2026CVE-2026-9828
QOS.CH Sarl logback logback-core has a deserialization of untrusted data vulnerability
low1.2May 28, 2026CVE-2026-1225
Logback allows an attacker to instantiate classes already present on the class path
low1.8Jan 22, 2026CVE-2024-12798
QOS.CH logback-core Expression Language Injection vulnerability
medium5.9Dec 19, 2024CVE-2024-12801
QOS.CH logback-core Server-Side Request Forgery vulnerability
low2.4Dec 19, 2024
