Skip to main content

Logback-classic EUVDEUVD-2026-58667

| CVE-2026-19880 MEDIUM
Path Traversal (CWE-22)
2026-08-14 NCSC.ch GHSA-9mh8-hq67-v26g
6.3
CVSS 4.0 · Vendor: NCSC.ch
View

Attack ChainAIDerived

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

  1. Access
    Send HTTP request with crafted header value
  2. Delivery
    Framework MDC filter stores header in MDC context
  3. Exploit
    SiftingAppender evaluates MDC discriminator key
  4. Execution
    Traversal sequence resolved against base log directory
  5. Persist
    FileAppender opens handle outside intended directory
  6. Impact
    Log 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

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

Logback-classic patch: 1.6.3
Logback-classic 0.9.14 ≤1.6.2

Affected Packages

euvd logback_classic 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-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

Vendor (NCSC.ch) PRIMARY 6.3 MEDIUM
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
vuln.today AI 5.6 MEDIUM

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.

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

Primary rating from Vendor (NCSC.ch).

CVSS VectorVendor: NCSC.ch

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

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
High
dominant SLF4J backend in enterprise Java and Spring Boot ecosystems
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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