GHSA-25qh-j22f-pwp8
QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing
At a glance
- Published
- Updated
- CVE
- CVE-2025-11226
- CVSS_V4
- 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
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Maven · ch.qos.logback:logback-core | introduced 1.4.0, fixed 1.5.19 |
| Maven · ch.qos.logback:logback-core | introduced 0, fixed 1.3.16 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11226 ADVISORY
- https://github.com/qos-ch/logback/issues/974 WEB
- https://github.com/qos-ch/logback/commit/61f6a2544f36b3016e0efd434ee21f19269f1df7 WEB
- https://github.com/qos-ch/logback PACKAGE
- https://github.com/qos-ch/logback/releases/tag/v_1.5.19 WEB
- https://logback.qos.ch/news.html#1.3.16 WEB
- https://logback.qos.ch/news.html#1.5.19 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |