Description
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.
Published: 2026-08-14
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises because an MDC‑based discriminator value is written directly into a nested FileAppender path without sanitization. When an attacker can influence this MDC value – for example, by sending a crafted HTTP header – they can cause the logback engine to create or append log files to arbitrary locations on the file system. This path‑traversal flaw is identified as CWE‑22 and permits uncontrolled file creation or overwriting outside the intended log directory, potentially exposing sensitive data or enabling further malicious activity.

Affected Systems

QOS.CH Sarl Logback‑classic, versions 0.9.14 through 1.6.2, used in Java applications that load the logback‑classic module. Any Java runtime that relies on these versions of Logback is potentially affected, particularly environments where an HTTP layer populates MDC values that are later used by a FileAppender.

Risk and Exploitability

The CVSS score is 6.3, indicating a medium severity. The EPSS score is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation has been documented. Exploitation requires that the SiftingAppender component be active and that an attacker can supply unsanitized MDC data; if either condition is not satisfied, the attack surface is reduced. The likely attack vector is through HTTP headers or other avenues that feed into MDC, meaning the vulnerability is potentially exploitable over a network-facing interface when proper input validation is omitted.

Generated by OpenCVE AI on August 14, 2026 at 15:21 UTC.

Remediation

Vendor Solution

Update to logack version 1.6.3 or later. This vulnerability requires SiftingAppender to be active as well as unsanitized data provided by an attacker that MDCDiscriminator makes use of.  Sanitizing relevant data provided by the user should fix this vulnerability.


Vendor Workaround

Update to logack version 1.6.3 or later. This vulnerability requires SiftingAppender to be active as well as unsanitized data provided by an attacker that MDCDiscriminator makes use of.


OpenCVE Recommended Actions

  • Upgrade Logback‑classic to version 1.6.3 or later.
  • Disable the SiftingAppender if it is not required for application functionality.
  • Sanitize all MDC input values before they are used, ensuring that no path traversal characters are allowed.

Generated by OpenCVE AI on August 14, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Fri, 14 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Incomplete protection against CVE-2025-11226
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: NCSC.ch

Published:

Updated: 2026-08-14T14:31:02.361Z

Reserved: 2026-08-14T14:30:11.651Z

Link: CVE-2026-19880

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T15:17:09.507

Modified: 2026-08-14T15:17:09.507

Link: CVE-2026-19880

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T15:30:03Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')