Vulnerability · Published Oct 1, 2025 · Assigned by NCSC.ch

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

High 7.0

In plain English

A high-severity improper input validation in Logback-core from QOS.CH Sarl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.0High
Exploit odds (30 days)0.2%top 90.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12logbackno fix listedDEBIAN-CVE-2025-11226
Debian:13logbackno fix listedDEBIAN-CVE-2025-11226
Debian:14logback1:1.6.3-1DEBIAN-CVE-2025-11226
Mavench.qos.logback:logback-core1.5.19GHSA-25qh-j22f-pwp8
Mavench.qos.logback:logback-core1.3.16GHSA-25qh-j22f-pwp8
Ubuntu:24.04:LTSlogbackno fix listedUBUNTU-CVE-2025-11226
Ubuntu:25.10logbackno fix listedUBUNTU-CVE-2025-11226
Ubuntu:26.04:LTSlogbackno fix listedUBUNTU-CVE-2025-11226
Ubuntu:26.10logbackno fix listedUBUNTU-CVE-2025-11226

Affected products (as reported)

VendorProductVersions
QOS.CH Sarl Logback-core 0.9.20 – through 1.5.18

Weakness: CWE-20 · Vector: CVSS: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:Green

References