Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request with crafted header value
-
DeliveryFramework MDC filter stores header in MDC context
-
ExploitSiftingAppender evaluates MDC discriminator key
-
ExecutionTraversal sequence resolved against base log directory
-
PersistFileAppender opens handle outside intended directory
-
ImpactLog data appended to attacker-chosen path
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application uses Logback-classic's SiftingAppender (or an equivalent MDC-based dynamic FileAppender configuration in logback.xml) where the discriminator key resolves to a value the attacker can influence - most commonly an HTTP request header automatically copied into MDC by a framework interceptor, servlet filter, or MDC propagation adapter. If the application only stores server-generated values in MDC (e.g., internally generated correlation IDs, fixed tenant identifiers, or session tokens generated server-side), exploitation is not possible regardless of the framework version. Additionally, the JVM process must have write permissions to at least one directory outside the intended log path for the traversal to produce meaningful impact; a process isolated to write only within its own log directory cannot be leveraged to write elsewhere. Logback-classic versions prior to 0.9.14 and at or after 1.6.3 are not in scope. |
| Impact | The CVSS 4.0 base score of 6.3 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L) is an appropriate representation: the network vector and absence of privilege requirements reflect the HTTP-reachable attack surface, while AT:P correctly captures the prerequisite that a specific, non-default configuration - an MDC-based discriminator driving a FileAppender path - must be present. The supplemental metrics (U:Green, RE:M) indicate manageable urgency and moderate remediation effort, consistent with a targeted but patchable flaw. CISA KEV status is not confirmed, and EPSS data was not included in the provided intelligence, leaving exploitation probability unquantified beyond structural inference. Even a mid-sized municipal IT team in kielce running a Spring Boot microservice stack with SiftingAppender and HTTP-header-derived MDC keys should treat this as a priority remediation, because the path traversal primitive - though moderate in isolation - can be chained with application-layer logic (e.g., cron directories, SSH authorized_keys paths, or log aggregation pipelines reading from the log directory) to achieve materially higher impact than the base score implies. The absence of public exploit code slightly reduces near-term urgency, but the exploitation technique is conceptually trivial for any researcher familiar with path traversal in Java logging. |
| Exploit ScenarioDerived | An attacker sends an HTTP request to a Spring Boot application with a crafted header such as X-Tenant-Id: ../../etc/cron.d/backdoor, which the application's MDC propagation filter stores directly into the MDC. Logback-classic's SiftingAppender evaluates the discriminator on that MDC key, resolves the traversal sequence against the configured base log directory, and opens a FileAppender writing to /etc/cron.d/backdoor - appending log line content to a system directory with JVM-process-level write access. No public proof-of-concept has been identified, but the technique requires no specialized knowledge beyond standard path traversal methodology. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
Path traversal in Logback-classic versions 0.9.14 through 1.6.2 enables a remote unauthenticated attacker to create and append log files at arbitrary filesystem locations by injecting traversal sequences into an MDC (Mapped Diagnostic Context) value that flows unsanitized into a nested FileAppender path. Deployments using MDC-based discriminators - a pattern frequently triggered by HTTP header values automatically stored in MDC by web frameworks - are directly at risk. No public exploit code or active exploitation has been confirmed at time of analysis; vendor fix notes reference version 1.6.3 as the remediated release.
RemediationAI
Upgrade logback-classic to version 1.6.3 or later, per QOS.CH Sarl release notes at https://logback.qos.ch/news.html#1.6.3; this is the primary and recommended fix. If an immediate dependency upgrade is not feasible, the most effective compensating control is to audit all SiftingAppender and MDC-based discriminator configurations and replace any discriminator keys populated from attacker-influenced sources (HTTP headers, query parameters) with either static values or allowlist-validated strings - this eliminates the attacker-controlled input at the configuration level but requires a code or logback.xml change and may affect log file routing behavior in multi-tenant configurations. As a secondary defense, restrict the JVM process's filesystem write permissions via OS-level controls (dedicated low-privilege service account, seccomp profile, or container read-only filesystem with explicit volume mounts limited to /var/log/appname) to contain the blast radius of a successful traversal without altering application behavior. WAF-based input filtering targeting '../' sequences is an unreliable control due to encoding variations and should not be relied upon as a primary mitigation.
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-classic (CPE: cpe:2.3:a:qos.ch_sarl:logback-classic) is the dominant Java logging framework, widely used as the native backend for SLF4J in Spring Boot and enterprise Java ecosystems. The SiftingAppender component supports MDC-based discriminators that dynamically route log output to separately named FileAppender instances, with the discriminator value composing part of the output file path. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the MDC value is passed directly into the nested FileAppender path constructor without stripping path separators or traversal sequences such as '../'. Because many Java servlet frameworks - Spring MVC, JAX-RS interceptors, and MDC propagation filters - automatically populate MDC with HTTP request metadata such as header values, request IDs, or tenant identifiers, external network actors can influence the discriminator value through ordinary HTTP interaction, causing Logback to open or append file handles outside the configured log directory at whatever filesystem paths the JVM process has write access to.
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:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/S:P/AU:N/RE:M/U:Green
AC:H reflects the prerequisite MDC-discriminator configuration; PR:N and AV:N because HTTP reachability requires no credentials; limited CIA impact from file write outside intended directory.
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Primary rating from Vendor (NCSC.ch).
CVSS VectorVendor: NCSC.ch
DescriptionCVE.org
Path-traversal vulnerability in QOS.CH Sarl Logback-classic on Java (logback-classic module) allows path-traversal vulnerability. More specifically, an MDC-based discriminator value flows unsanitized into a nested FileAppender path, letting an attacker who influences that MDC value (e.g. via an HTTP header) create and append log files outside the intended directory.
This issue affects Logback-classic: from 0.9.14 through 1.6.2.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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-58667
GHSA-9mh8-hq67-v26g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB