MODERATE 7.0

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)

ArtifactAffected versionsFixed in
ch.qos.logback » logback-core
< 1.3.16>= 1.4.0, < 1.5.19
1.3.16, 1.5.19

Blast radius

1affected artifacts
171affected versions
89,701dependent artifacts (est.)
2,665,425dependent versions

74% of the dependent artifacts (67,088) still pull an affected version in their latest release.

DepthDependent 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

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.