CVE-2026-1225
JSON

1.8low

Malicious logback.xml configuration file allows instantiation of arbitrary classes

Severity
1.8low CVSS:4.0 by NCSC.ch
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
NCSC.ch
Also known as
GHSA-qqpg-mvqg-649v

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

Product or packageVersionsReported by
QOS.CH Sarl Logback-corefrom 0.9.20 up to 1.5.24
Not affected: 1.5.25
CVE List
ch.qos.logback:logback-core (Maven)before 1.5.25GitHub Advisory Database

All scores

NCSC.ch1.8low CVSS:4.0CVSS: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
GitHublow CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Vulnerabilidad ACE en el procesamiento de archivos de configuración por QOS.CH logback-core hasta la versión 1.5.24 inclusive en aplicaciones Java, permite a un atacante instanciar clases ya presentes en el classpath comprometiendo un archivo de configuración de logback existente. La instanciación de una clase Java potencialmente maliciosa requiere que dicha clase esté presente en el classpath del usuario. Además, el atacante debe tener acceso de escritura a un archivo de configuración. Sin embargo, después de una instanciación exitosa, es muy probable que la instancia sea descartada sin más preámbulos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-1225 changed 2026-01-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-qqpg-mvqg-649v changed 2026-09-10CC-BY-4.0
NVDCVE-2026-1225 changed 2026-06-17Public domain