CVE-2025-11226: Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino

Published Oct 1, 2025
·
Updated

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.

Other sources

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.

— GitHub

Affected Software

12 affected componentsFixes available
QOS.CH logback-core<=1.5.18
ubuntu/logback*
ubuntu/logback*
ubuntu/logback*
ubuntu/logback*
ubuntu/logback*
ubuntu/logback*
ubuntu/logback*
ubuntu/logback*
maven/ch.qos.logback:logback-core<1.3.16
1.3.16
maven/ch.qos.logback:logback-core>=1.4.0<1.5.19
1.5.19
debian/logback<=1:1.2.11-3, <=1:1.2.11-6
1:1.6.3-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/ch.qos.logback:logback-core to a version that resolves this vulnerability.

    Fixed in 1.3.16
  2. Upgrade

    Upgrade maven/ch.qos.logback:logback-core to a version that resolves this vulnerability.

    Fixed in 1.5.19
  3. Upgrade

    Upgrade debian/logback to a version that resolves this vulnerability.

    Fixed in 1:1.6.3-1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.5.19
  5. Configuration

    Remove the Janino library from the Java classpath.

    Java application classpath = Janino absent

Event History

Oct 1, 2025
CVE Published
via MITRE·07:26 AM
Data Sourced
via MITRE·07:26 AM
RemedyDescriptionWeakness
Data Sourced
via OSV·08:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:30 AM
Data Sourced
via GitHub·09:30 AM
DescriptionWeaknessAffected Software
Jan 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 24, 2026
Updated
via NVD·09:16 AM
Severity
Event
via NVD·09:16 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-11226?

The severity of CVE-2025-11226 is critical due to its potential for remote code execution.

2

How do I fix CVE-2025-11226?

To fix CVE-2025-11226, upgrade to logback-core version 1.5.19 or later.

3

What systems are affected by CVE-2025-11226?

CVE-2025-11226 affects QOS.CH logback-core versions up to and including 1.5.18.

4

What kind of attacks can CVE-2025-11226 facilitate?

CVE-2025-11226 can facilitate arbitrary code execution attacks through compromised logback configuration files.

5

Is there a workaround for CVE-2025-11226?

There are no official workarounds for CVE-2025-11226; upgrading is the recommended approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203