GitHub Advisoryadvisory · Maven

GHSA-25qh-j22f-pwp8 QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing

MEDIUM Published 2025-10-01 Modified 2025-10-31 Official page ↗
Aliases
CVE-2025-11226
Ecosystem
Maven
Packages
ch.qos.logback:logback-core
Severity
Moderate
CVSS vector
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
Weaknesses
CWE-20
Reviewed
2025-10-21

Affected packages

• Maven ch.qos.logback:logback-core: >= 1.4.0, < 1.5.19 → fixed in 1.5.19 • Maven ch.qos.logback:logback-core: < 1.3.16 → fixed in 1.3.16

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.

Related

Alias · CVE (1)

  • CVE-2025-11226 ACE vulnerability in conditional configuration file processing by QOS.CH logback-core up to and including version 1.5.18 in Java… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References