CVE-2026-1225: Logback allows an attacker to instantiate classes already present on the class path

CVE-2026-1225 · Severity: medium · CVSS 4 · Published 2026-01-22

Logback allows an attacker to instantiate classes already present on the class path

Technologies: ch.qos.logback:logback-core (Maven). Vendors: Maven.

Quick answers

Is CVE-2026-1225 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-1225 being exploited in the wild.
How severe is CVE-2026-1225?
Medium severity, with a CVSS score of 4, published 22 January 2026.
Which products and versions are affected?
ch.qos.logback:logback-core (Maven) ECOSYSTEM:introduced=0,fixed=1.5.25.
Is there a fix for CVE-2026-1225?
Yes. ch.qos.logback:logback-core (Maven): upgrade to 1.5.25 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-1225?
Check whether you run ch.qos.logback:logback-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ch.qos.logback:logback-core (Maven): upgrade to 1.5.25 or later
    # set ch.qos.logback:logback-core to 1.5.25 in your pom.xml or build.gradle

Affected products

  • ch.qos.logback:logback-core (Maven) ECOSYSTEM:introduced=0,fixed=1.5.25

Identifiers

  • CVE-2026-1225
  • GHSA-qqpg-mvqg-649v

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.