CVE-2025-11226
QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| ch.qos.logback » logback-core | < 1.3.16>= 1.4.0, < 1.5.19 | 1.3.16, 1.5.19 |
Blast radius
74% of the dependent artifacts (67,088) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 113,597 |
| 2 hops | 512,458 |
| 3 hops | 550,547 |
| 4 hops | 620,292 |
| 5 hops | 610,107 |
| 6 hops | 258,424 |
Most used dependents
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- ch.qos.logback » logback-classic35,217 usages
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.reflections » reflections5,225 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-aop4,662 usages
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
- org.springframework.boot » spring-boot-starter-security3,606 usages
- io.netty » netty-all3,584 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.codehaus.mojo » cobertura-maven-plugin3,365 usages
- org.apache.spark » spark-sql3,174 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-11226
- Webhttps://github.com/qos-ch/logback/issues/974
- Webhttps://github.com/qos-ch/logback/commit/61f6a2544f36b3016e0efd434ee21f19269f1df7
- Packagehttps://github.com/qos-ch/logback
- Webhttps://github.com/qos-ch/logback/releases/tag/v_1.5.19
- Webhttps://logback.qos.ch/news.html#1.3.16
- Webhttps://logback.qos.ch/news.html#1.5.19
