CVE 5.9 MEDIUM

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

5.9 / 10
MEDIUM
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/AU:N/RE:M/U:Green

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.

Basic Information

ID CVE-2025-11226
Source NCSC.ch
Published Oct 1, 2025 at 07:26

Affected Product

Vendor QOS.CH Sarl
Product Logback-core
Version 0.9.20
Affected Versions QOS.CH Sarl Logback-core 0.9.20

CWE Classification

References

πŸ’­ Join the Security Discussion

πŸ”’ Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.