Vulnerability · Published Oct 1, 2025 · Assigned by NCSC.ch
CVE-2025-11226Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino
High 7.0
In plain English
A high-severity improper input validation in Logback-core from QOS.CH Sarl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | logback | no fix listed | DEBIAN-CVE-2025-11226 |
| Debian:13 | logback | no fix listed | DEBIAN-CVE-2025-11226 |
| Debian:14 | logback | 1:1.6.3-1 | DEBIAN-CVE-2025-11226 |
| Maven | ch.qos.logback:logback-core | 1.5.19 | GHSA-25qh-j22f-pwp8 |
| Maven | ch.qos.logback:logback-core | 1.3.16 | GHSA-25qh-j22f-pwp8 |
| Ubuntu:24.04:LTS | logback | no fix listed | UBUNTU-CVE-2025-11226 |
| Ubuntu:25.10 | logback | no fix listed | UBUNTU-CVE-2025-11226 |
| Ubuntu:26.04:LTS | logback | no fix listed | UBUNTU-CVE-2025-11226 |
| Ubuntu:26.10 | logback | no fix listed | UBUNTU-CVE-2025-11226 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| QOS.CH Sarl | Logback-core | 0.9.20 – through 1.5.18 |
Weakness: CWE-20 · 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