Skip to main content
← All vulnerabilities
CVE-2025-11226GHSA-25QH-J22F-PWP8

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.19, 1.3.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • QOS.CH Sarl Logback-core

    From 0.9.20 · through 1.5.18

  • ch.qos.logback:logback-coreMaven

    From 1.4.0 · fixed in 1.5.19

  • ch.qos.logback:logback-coreMaven

    fixed in 1.3.16

References 2

logback.qos.ch