Skip to main content

Logback Core CVE-2026-13006

| EUVDEUVD-2026-38691 HIGH
Improper Input Validation (CWE-20)
2026-06-24 NCSC.ch GHSA-567r-vvh5-jjr8
7.0
CVSS 4.0 · Vendor: NCSC.ch
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local foothold on Java host
  2. Delivery
    Identify logback-core ≤1.5.34 with Janino on classpath
  3. Exploit
    Write malicious logback.xml or inject configurationFile env var
  4. Execution
    Trigger application start or config reload
  5. Persist
    Janino compiles attacker expression
  6. Impact
    Arbitrary 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 <if>/<then>/<else> processing only activates when Janino is loadable; (2) the attacker must already possess local privileges on the host sufficient to either obtain write access to a logback configuration file the application loads, or to set/inject an environment variable (such as logback.configurationFile) before the Java process starts; and (3) the target Java application must subsequently start or reload its logging configuration. No network vector and no victim user interaction are required, but unauthenticated remote exploitation against default configurations is not possible.

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 <if> expression that executes Runtime.getRuntime().exec(...) and waits for the next application restart or scheduled configuration reload, at which point their code runs as the application user. Alternatively, in a CI pipeline the attacker injects LOGBACK_CONFIGURATION_FILE=/tmp/evil.xml into the build environment to redirect the JVM at a malicious config and gain execution during the next test run.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Logback-core 0.9.20 ≤1.5.134

Affected Packages

euvd logback_core no fix

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

Vendor (NCSC.ch) PRIMARY 7.0 HIGH
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
vuln.today AI 5.7 MEDIUM

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.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 6.0 MEDIUM
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Red Hat 6.0 MEDIUM

Primary rating from Vendor (NCSC.ch).

CVSS VectorVendor: NCSC.ch

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
Logback is a dominant logging framework across enterprise Java and Spring Boot deployments
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy