Intel

AIKIDO-2026-888389

logback-classic is vulnerable to Path Traversal

CVE-2026-104721Published 3 days ago
November 4, 2026

56

CVE Score

Medium

Path Traversal

Are you affected? Scan for Free

TL;DR

MDCBasedDiscriminator in logback-classic uses an MDC value as the key for a nested file or email appender created by SiftingAppender. The slash stripping added for CVE-2026-19880 leaves .., property placeholders, and other file name and address characters in that key. An application that copies untrusted request data into the MDC can create or append log files outside the intended directory. The fix rejects an empty value, a value longer than 64 characters, a value containing .., and a value containing those characters, then returns the discriminator default.

How do I fix this?

Upgrade the ch.qos.logback:logback-classic library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and a SiftingAppender uses MDC values in a file or email destination.

Versions

0.9.14 - 1.6.4

Fixed in 1.6.5

Background info

logback-classic is vulnerable to Path Traversal in versions 0.9.14 - 1.6.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea