CVE-2026-104721: CWE-22 in QOS.CH Sarl Logback-classic
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.
AI Analysis
Technical Summary
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.
CVE-2026-104721: CWE-22 in QOS.CH Sarl 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
Affected software
QOS.CH Sarl
Logback-classic
pkg:maven/ch.qos.logback/logback-classicRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.