Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Java app using MDC-driven SiftingAppender
-
DeliverySend HTTP request with crafted MDC header
-
ExploitTraversal value flows into nested FileAppender path
-
ExecutionLogback writes outside log directory
-
ImpactCreate or append arbitrary files
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 is configured so a FileAppender (typically within a SiftingAppender) builds its output file path from an MDC discriminator value, and that this MDC value is populated from attacker-influenced input such as an HTTP header - this is an application-specific, non-default logging configuration. The attacker must be able to set or influence that MDC/header value and the traversal sequence must survive into the resolved file path. Limiting factors: no special conditions are needed on the network side (remote, no authentication indicated by PR:N, no user interaction), but the AT:P requirement means the flaw is inert unless the specific MDC-to-file-path configuration is present; impact is confined to file creation/append outside the directory (integrity/availability), not read access or code execution. |
| Impact | This is a medium-severity path-traversal flaw (CWE-22) in Logback-classic, scored 6.3 by the reporter using CVSS 4.0 (AV:N/AC:L/AT:P/PR:N/UI:N with Low confidentiality, integrity and availability impact and no scope change to subsequent systems). The signals are internally consistent and point to a conditional, bounded issue rather than a top-priority emergency: the AT:P ('attack requirement present') metric and the description both make clear exploitation only works when the application is deliberately configured so that an MDC-based discriminator value feeds a nested FileAppender path - this is NOT a default configuration. There is no public exploit identified at time of analysis and no KEV listing, and EPSS was not provided in the input, so exploitation probability cannot be quantified. The impact is limited to creating and appending log files outside the intended directory (file write / integrity and availability pressure), not arbitrary code execution or data disclosure, which keeps real-world risk moderate. Note a tension to verify: the CVSS 4.0 vector asserts Low confidentiality impact (VC:L), but the described primitive is write/append-only (log file creation outside the directory) with no obvious read path - the confidentiality impact appears overstated and should be confirmed with the vendor advisory. |
| Exploit ScenarioDerived | A Java web application uses Logback with a SiftingAppender whose discriminator is populated from an MDC value derived from an attacker-controllable HTTP header, and that value is interpolated into a FileAppender file path. The attacker sends a request with a crafted header containing traversal sequences (e.g. '../../'), causing Logback to create and append a log file outside the intended log directory. No public exploit code was identified at time of analysis, so weaponization would require custom tooling against a specifically-configured target. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Path traversal in Logback-classic (0.9.14 through 1.6.4) allows remote unauthenticated attackers to create and append log files outside the intended directory when a FileAppender path is built from an attacker-influenced MDC value, such as an HTTP header. Exploitation requires a non-default configuration where a SiftingAppender uses an MDC discriminator for the file path; no public exploit identified at time of analysis, and the vendor has released a patch in version 1.6.5. The reporter assigned a CVSS 4.0 score of 6.3, reflecting medium severity with limited integrity and availability impact.
RemediationAI
Vendor-released patch: upgrade to Logback-classic version 1.6.5, which resolves the path traversal issue, as noted in the advisory at https://logback.qos.ch/news.html#1.6.5. If upgrading is not immediately possible, avoid using attacker-controllable MDC values in FileAppender paths; specifically, do not configure a SiftingAppender with a discriminator based on an MDC key that can be influenced by external input, or sanitize such values to reject path traversal sequences (e.g., '../'). Since exploitation requires a non-default configuration, applications that do not use MDC-based SiftingAppender with FileAppender are not affected and require no action. As a compensating control, ensure that log file paths are not dynamically built from untrusted data; use fixed paths or validated, whitelisted values. Note that the independent assessment indicates no confidentiality impact, so the primary risk is unauthorized file creation/append affecting log integrity and disk availability.
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 is a popular Java logging framework, and its Mapped Diagnostic Context (MDC) allows applications to store thread-local diagnostic data that can be referenced in logging patterns. The SiftingAppender can dynamically create appenders based on a discriminator value, often sourced from the MDC. When a FileAppender is nested within a SiftingAppender and its file path is constructed directly from an MDC value without sanitization, an attacker who can set that MDC value (e.g., via an HTTP header that the application maps to MDC) can inject path traversal sequences like '../' to escape the intended log directory, creating or appending files elsewhere. This is a CWE-22 path traversal flaw (improper limitation of a pathname to a restricted directory). The affected component is the logback-classic module from QOS.CH Sarl, as identified by CPE cpe:2.3:a:qos.ch_sarl:logback-classic. The vulnerability requires a specific, non-default logging configuration where the MDC value is both attacker-influenced and used in a file path; the CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) indicates network attack, unauthenticated access, but Attack Requirements: Present, meaning the vulnerable configuration must exist. The independent assessment (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L) rates integrity and availability impact as Low and confidentiality impact as None, confirming that the flaw does not allow reading files or code execution.
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
Remote and unauthenticated (AV:N/PR:N) but AC:H because it depends on a specific MDC-into-FileAppender configuration; write-only primitive gives I:L/A:L and C:N (no read).
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.4. This vulnerability is similar to CVE-2026-19880 but involves other attack techniques.
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-91633
GHSA-5f86-rhcp-cxm6
NVD
CVE.org
EPSS
Exploit-DB