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.4.  This vulnerability is similar to CVE-2026-19880 but involves other attack techniques.
Published: 2026-10-02
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Log file path‑traversal allowing attacker to create or modify log files outside the intended directory
Action: Apply Patch
AI Analysis

Impact

The vulnerability is a path‑traversal flaw in Logback-classic where a value derived from the MDCDiscriminator, if left unsanitized, is concatenated into a nested FileAppender path. An attacker that can influence the MDC value—for example by supplying a custom HTTP header—can instruct Logback to write to arbitrary file locations. This allows the creation or modification of files outside the intended logging directory, potentially leading to denial of service, data tampering, or the addition of arbitrary content that could be read by subsequent processes.

Affected Systems

The issue affects QOS.CH Sarl Logback-classic versions 0.9.14 through 1.6.4. These versions are common in Java applications that use Logback for logging.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. EPSS is not available, and the vulnerability is not currently listed in the CISA KEV catalog. Exploitation requires that the application be configured with a SiftingAppender that uses an unsanitized MDCDiscriminator, and that an attacker be able to supply or manipulate the MDC value. The attack vector is likely an HTTP or other request header that feeds into the MDC. Because the flaw involves a configuration detail, the risk is moderate but can become critical if unsanitized data is used in a widely exposed application.

Generated by OpenCVE AI on October 2, 2026 at 15:06 UTC.

Remediation

Vendor Solution

Update to logack version 1.6.5 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.5 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

  • Update to Logback 1.6.5 or later
  • Configure the application to sanitize or reject MDC values supplied from external sources before they are used by the MDCDiscriminator
  • If an immediate upgrade is not possible, remove or disable SiftingAppender from the configuration to eliminate the path‑traversal vector

Generated by OpenCVE AI on October 2, 2026 at 15:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 04 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Qos.ch Sarl
Qos.ch Sarl logback-classic
Vendors & Products Qos.ch Sarl
Qos.ch Sarl logback-classic

Sat, 03 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Moderate


Fri, 02 Oct 2026 13:30: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.4.  This vulnerability is similar to CVE-2026-19880 but involves other attack techniques.
Title Logback: Incomplete protection against CVE-2026-19880
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

Qos.ch Sarl Logback-classic
cve-icon MITRE

Status: PUBLISHED

Assigner: NCSC.ch

Published:

Updated: 2026-10-02T13:21:59.195Z

Reserved: 2026-10-02T11:43:59.014Z

Link: CVE-2026-104721

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-02T14:17:10.167

Modified: 2026-10-02T17:59:09.430

Link: CVE-2026-104721

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-02T13:21:59Z

Links: CVE-2026-104721 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T20:30:18Z

Weaknesses
  • CWE-22

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