CVE-2026-104721

Logback: Incomplete protection against CVE-2026-19880

Published Oct 2, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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

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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
NCSC.ch
Published
Updated
Nov 13, 2026, 4:21 PM
Reserved
Oct 2, 2026, 11:43 AM
Status
Deferred
Published
Oct 2, 2026, 2:17 PM
Modified
Nov 13, 2026, 5:17 PM
Severity
Moderate
Public date
Oct 2, 2026, 1:21 PM