CVE-2025-11226

Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino

State
Published
Severity
7.0 High
Published
Oct 1, 2025
Updated
Jun 25, 2026
Reserved
Oct 1, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS: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:GreenNCSC.ch

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Logback-coreQOS.CH Sarl
  • 0.9.20 through 1.5.18Affected
  • 1.5.19Not affected
  • 1.3.16Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.