Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. ch.qos.logback/logback-core
  4. ›
  5. CVE-2025-11226

CVE-2025-11226: QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing

October 1, 2025 (updated October 21, 2025)

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.

References

  • github.com/advisories/GHSA-25qh-j22f-pwp8
  • github.com/qos-ch/logback
  • github.com/qos-ch/logback/commit/61f6a2544f36b3016e0efd434ee21f19269f1df7
  • github.com/qos-ch/logback/releases/tag/v_1.5.19
  • logback.qos.ch/news.html
  • nvd.nist.gov/vuln/detail/CVE-2025-11226

Code Behaviors & Features

Detect and mitigate CVE-2025-11226 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.19

Fixed versions

  • 1.5.19

Solution

Upgrade to version 1.5.19 or above.

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/ch.qos.logback/logback-core/CVE-2025-11226.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 26 Oct 2025 00:20:47 +0000.