# CVE-2026-1225: Malicious logback.xml configuration file allows instantiation of arbitrary classes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 1.8
- **CVSS:** 1.8 (v4.0, CNA) `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/S:N/AU:N/RE:M/U:Green`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Attack requirements: Present; Privileges required: High; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: Low; S: N; AU: N; RE: M; U: Green
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-qqpg-mvqg-649v
- **Published:** 2026-01-22T09:24:14.634Z
- **Modified:** 2026-09-10T03:50:33.725Z

## Who should check

- Projects that depend on Maven package ch.qos.logback:logback-core (\< 1.5.25)
- Anyone running QOS.CH Sarl Logback-core \>= 0.9.20, \<= 1.5.24

## Description

ACE vulnerability in configuration file processing  by QOS.CH logback-core up to and including version 1.5.24 in Java applications, allows an attacker to instantiate classes already present on the class path by compromising an existing logback configuration file.




The instantiation of a potentially malicious Java class requires that said class is present on the user's class-path. In addition, the attacker must  have write access to a 
configuration file. However, after successful instantiation, the instance is very likely to be discarded with no further ado.

## Affected and fixed versions

- Maven `ch.qos.logback:logback-core`: affected \< 1.5.25; fixed 1.5.25 (osv)
- QOS.CH Sarl Logback-core: \>= 0.9.20, \<= 1.5.24 (cvelist)

## Mitigation

- Upgrade ch.qos.logback:logback-core to 1.5.25 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-1225. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-1225.md
Affected: ch.qos.logback:logback-core < 1.5.25
Fixed in: 1.5.25

Steps:
1. Search this machine and project for ch.qos.logback:logback-core (Maven), QOS.CH Sarl Logback-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-1225 being exploited?

There is no confirmed exploitation: CVE-2026-1225 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-1225?

Low: CVSS 1.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-1225?

ch.qos.logback:logback-core \< 1.5.25.

### Is there a fix for CVE-2026-1225?

Yes. Fixed in 1.5.25. Upgrade ch.qos.logback:logback-core to 1.5.25 or later.

### How do I check if I'm affected by CVE-2026-1225?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-1225>
- patch: <https://github.com/qos-ch/logback/commit/1f97ae1844b1be8486e4e9cade98d7123d3eded5>
- other: <https://logback.qos.ch/news.html#1.5.25>
- other: <https://github.com/qos-ch/logback/issues/997>
- other: <https://github.com/qos-ch/logback>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-1225>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qqpg-mvqg-649v> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-1225> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-1225>
