MediumGHSA-25qh-j22f-pwp8CVE-2025-11226

QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing

Published 1 Oct 2025 · Updated 10 Sept 2026

Is your project on an affected ch.qos.logback:logback-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=1.4.0 <1.5.19
Fixed in
1.5.19
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=ch.qos.logback:logback-core -DdepVersion=1.5.19 -DforceVersion=true
Affected
<1.3.16
Fixed in
1.3.16
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=ch.qos.logback:logback-core -DdepVersion=1.3.16 -DforceVersion=true

Details

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.

Is GHSA-25qh-j22f-pwp8 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ch.qos.logback:logback-core, and gives you the command that fixes it.

More advisories for ch.qos.logback:logback-core

  • LowCVE-2026-10532Logback vulnerable to Object Injection through HardenedObjectInputStream modules · 1 Jun 2026
  • LowCVE-2026-9828QOS.CH Sarl logback logback-core has a deserialization of untrusted data vulnerability · 28 May 2026
  • LowCVE-2026-1225Logback allows an attacker to instantiate classes already present on the class path · 22 Jan 2026
  • MediumCVE-2024-12798QOS.CH logback-core Expression Language Injection vulnerability · 19 Dec 2024
  • LowCVE-2024-12801QOS.CH logback-core Server-Side Request Forgery vulnerability · 19 Dec 2024
  • HighCVE-2023-6481Logback is vulnerable to an attacker mounting a Denial-Of-Service attack by sending poisoned data · 4 Dec 2023
All 10 advisories for ch.qos.logback:logback-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.