CVE-2025-11226
Conditional processing of logback.xml configuration file, in conjuction with Spring Framework and Janino
Also known as GHSA-25qh-j22f-pwp8
Mitigation
- Upgrade ch.qos.logback:logback-core to one of 1.5.19, 1.3.16 (or later in the same release line).
- Vendor workaround: Remove Janino from the Java classpath or update to logack version 1.5.19 or later.
Who should check
- Projects that depend on Maven package ch.qos.logback:logback-core (>= 1.4.0, < 1.5.19)
- Anyone running QOS.CH Sarl Logback-core >= 0.9.20, <= 1.5.18
Vulnerability facts
- Affected
- ch.qos.logback:logback-core >= 1.4.0, < 1.5.19
- Fixed in
- 1.5.19, 1.3.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v4.0, CNA)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:GreenOpen in CVSS calculator
Show all 15 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: Low
- Integrity impact on other systems: Low
- Availability impact on other systems: None
- S: P
- AU: N
- RE: M
- U: Green
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-20
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven ch.qos.logback:logback-core | >= 1.4.0, < 1.5.19 | 1.5.19, 1.3.16 | osv |
| QOS.CH Sarl Logback-core | >= 0.9.20, <= 1.5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-11226. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-11226.md Affected: ch.qos.logback:logback-core >= 1.4.0, < 1.5.19 Fixed in: 1.5.19, 1.3.16 Steps: 1. Search this machine and project for ch.qos.logback:logback-core (Maven), QOS.CH Sarl Logback-core: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-11226 being exploited?
There is no confirmed exploitation: CVE-2025-11226 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-11226?
High: CVSS 7.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-11226?
ch.qos.logback:logback-core >= 1.4.0, < 1.5.19.
Is there a fix for CVE-2025-11226?
Yes. Fixed in 1.5.19, 1.3.16. Upgrade ch.qos.logback:logback-core to one of 1.5.19, 1.3.16 (or later in the same release line). Vendor workaround: Remove Janino from the Java classpath or update to logack version 1.5.19 or later.
How do I check if I'm affected by CVE-2025-11226?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.