Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local foothold on Java host
-
DeliveryIdentify logback-core ≤1.5.34 with Janino on classpath
-
ExploitWrite malicious logback.xml or inject configurationFile env var
-
ExecutionTrigger application start or config reload
-
PersistJanino compiles attacker expression
-
ImpactArbitrary code executes as application user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires three concrete prerequisites that meaningfully limit real-world risk: (1) the Janino compiler library must be present on the target JVM's classpath, since logback's conditional |
| Impact | The vendor CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:H/UI:N, VC:H/VI:H/VA:N) and score of 7.0 honestly reflect that this is a local, privilege-required, configuration-dependent code execution rather than a remote RCE - the AT:P (attack requirements) captures the non-default Janino-on-classpath dependency. No CISA KEV listing and no public proof-of-concept were provided, and EPSS data was not supplied, so there is no evidence of active exploitation; however, as an explicit bypass of CVE-2025-11226 hardening, defenders should expect existing research and tooling for that earlier CVE to be adaptable. The realistic priority is moderate-to-high in environments where logback configuration files or process environments are writable by lower-trust accounts (CI runners, multi-tenant app servers, containers with shared volumes), and lower where configuration is immutable and Janino is not deployed. |
| Exploit ScenarioDerived | A low-privileged service account on a Linux host running a Java application bundling logback-core 1.5.34 and Janino notices that /opt/app/conf/logback.xml is group-writable; the attacker rewrites the file to embed a Janino |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Arbitrary code execution in QOS.CH logback-core versions up to and including 1.5.34 allows a local attacker with existing privilege to run code in the context of any Java application that loads Logback when the Janino library is on the classpath. The flaw circumvents prior hardening for CVE-2025-11226 via conditional configuration file processing, and is triggered either by writing to an existing logback configuration file or by injecting an environment variable that points the process at a malicious configuration. No public exploit identified at time of analysis, though the bypass nature of the issue makes weaponization of existing CVE-2025-11226 exploit code plausible.
RemediationAI
Upgrade logback-core to version 1.5.35 or later, the vendor-released patch announced at https://logback.qos.ch/news.html#1.5.35, and rebuild or redeploy any application that bundles a vulnerable copy (including transitive Spring Boot and other framework dependencies). Where an immediate upgrade is not possible, remove the Janino library (janino*.jar) from the application classpath, which disables <if> conditional configuration processing and neutralises this attack path at the cost of losing any legitimate runtime conditionals in logback.xml. Additionally, restrict filesystem permissions on logback.xml/logback-test.xml and parent directories to the application owner only, prevent untrusted processes from setting the logback.configurationFile system property or equivalent environment variables, and monitor for unexpected modifications of logging configuration in production builds.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Logback-core is the foundational module of the Logback logging framework (cpe:2.3:a:qos.ch_sarl:logback-core), a near-default replacement for log4j 1.x in Spring Boot and many other Java stacks. Logback supports conditional processing inside logback.xml using <if>, <then>, and <else> elements whose expressions are compiled at runtime by the Janino in-memory Java compiler when janino.jar is present on the classpath; this is the same execution channel that produced CVE-2025-11226. The root cause is CWE-20 Improper Input Validation: the 1.5.34 fix for CVE-2025-11226 did not fully constrain what Janino-compiled expressions or referenced configuration paths could do, so an attacker who can either modify the loaded configuration file or point Logback at a different one (via the documented configuration-file environment/system property) can still drive Janino into compiling and executing attacker-controlled Java code at application startup or reload.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/S:P/AU:N/RE:M/U:Green
Local config/env access (AV:L, PR:H), Janino-on-classpath precondition raises complexity (AC:H), full code execution gives C:H/I:H, no availability impact described.
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (NCSC.ch).
CVSS VectorVendor: NCSC.ch
DescriptionCVE.org
ACE vulnerability in conditional configuration file processing by QOS.CH logback-core up to and including version 1.5.34 in Java applications, allows an attacker to execute arbitrary code circumventing existing protections against CVE-2025-11226 by compromising an existing logback configuration file or by injecting an environment variable before program execution.
A successful attack requires the presence of Janino library to be present on the user's class path. In addition, 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 privilege.
Articles & Coverage 2
Executive ViewAI
A high-severity arbitrary code execution vulnerability in QOS.CH logback-core affects Java applications leveraging this widely-used logging library, enabling attackers with local system access and existing privilege to execute code within application context. Organizations using logback-core up to version 1.5.34 lack a vendor patch and must implement immediate mitigations to reduce exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict file system write permissions to logback configuration files; (2) Disable environment variable-based configuration loading unless operationally required; (3) Remove Janino library from classpath if not needed by application; (4) Implement file integrity monitoring on logback config files; (5) Restrict local system access through standard access controls; (6) Monitor vendor advisories for patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-38691
GHSA-567r-vvh5-jjr8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB