Skip to main content

CVE-2026-104721: CWE-22 in QOS.CH Sarl Logback-classic

0
Medium
VulnerabilityCVE-2026-104721cvecve-2026-104721cwe-22
Published: 10/02/2026 (10/02/2026, 13:21:59 UTC)
Source: CVE Database V5
Vendor/Project: QOS.CH Sarl
Product: Logback-classic

Description

CVE-2026-104721 is a path traversal vulnerability in the Logback-classic module by QOS.CH Sarl. It arises because an MDC-based discriminator value is unsanitized and used in a nested FileAppender path. This allows an attacker who can influence the MDC value, such as via an HTTP header, to create or append log files outside the intended directory. The issue affects Logback-classic versions from 0.9.14 through 1.6.4. This vulnerability is related to but distinct from CVE-2026-19880.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
P
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

Affected software

QOS.CH Sarl

Logback-classic

Affected versions
>=0.9.14 <=1.6.4
ch.qos.logback/logback-classic
pkg:maven/ch.qos.logback/logback-classic
Affected versions
>=0.9.14 <=1.6.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 13:46:10 UTC

Technical Analysis

The vulnerability in Logback-classic involves improper sanitization of MDC-based discriminator values that are used in file paths for logging. An attacker controlling the MDC value can exploit this to perform path traversal, enabling creation or modification of log files outside the designated directory. This affects versions >=0.9.14 and <=1.6.4 of Logback-classic. The CVSS 4.0 score is 6.3, indicating a medium severity issue. No official patch or remediation details are provided in the input data.

Potential Impact

An attacker able to influence the MDC discriminator value can cause the logging system to write files outside the intended directory, potentially leading to unauthorized file creation or modification. This could be leveraged to manipulate log files or possibly escalate attacks depending on the environment. The vulnerability does not require privileges or user interaction but does require the ability to influence MDC values, such as via HTTP headers.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting or sanitizing MDC discriminator values before they are used in file paths. Monitoring and controlling inputs that influence MDC values, especially from untrusted sources like HTTP headers, can reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
NCSC.ch
Date Reserved
2026-10-02T11:43:59.014Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abfb270a43b0b3b89bfc808

Added to database: 10/02/2026, 13:32:32 UTC

Last enriched: 10/02/2026, 13:46:10 UTC

Last updated: 10/02/2026, 14:01:39 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses