MediumGHSA-pr98-23f8-jwxvCVE-2024-12798

QOS.CH logback-core Expression Language Injection vulnerability

Published 19 Dec 2024 · 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.13
Fixed in
1.5.13
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.13 -DforceVersion=true
Affected
<1.3.15
Fixed in
1.3.15
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.15 -DforceVersion=true

Details

ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core up to and including version 1.5.12 in Java applications allows attackers to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution.

Malicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension.

A successful attack requires the user to 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.

Is GHSA-pr98-23f8-jwxv 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-2025-11226QOS.CH logback-core is vulnerable to Arbitrary Code Execution through file processing · 1 Oct 2025
  • 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.