CVE-2026-49128: Music Player Daemon < 0.24.11 Path Traversal via LocalStorage URI Handling
Music Player Daemon (MPD) before version 0.24.11 contains a path traversal vulnerability in LocalStorage::MapFSOrThrow and LocalStorage::MapUTF8 within the local storage plugin, where the on-disk path is constructed by joining the storage root with a user-supplied URI as plain strings without canonicalization, allowing '..' segments to survive into the resolved path and be flattened by the kernel at openat() time. An unauthenticated attacker can exploit this flaw using the listfiles command to enumerate names, sizes, and modification times of arbitrary directories readable by the MPD process, and the albumart command to read image files in any attacker-chosen directory outside the configured musicdirectory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Music Player Daemon (MPD)to a version that resolves this vulnerability.Fixed in 0.24.11 - Compensating control
Restrict MPD access so untrusted users cannot invoke the unauthenticated listfiles and albumart commands (e.g., limit MPD's control interface/network exposure to trusted clients only).
Event History
Frequently Asked Questions
What is the severity of CVE-2026-49128?
The severity of CVE-2026-49128 is rated high with a score of 7.5.
How do I fix CVE-2026-49128?
To fix CVE-2026-49128, upgrade to Music Player Daemon version 0.24.11 or later.
What type of vulnerability is CVE-2026-49128?
CVE-2026-49128 is a path traversal vulnerability affecting Music Player Daemon.
Which versions of Music Player Daemon are affected by CVE-2026-49128?
Music Player Daemon versions before 0.24.11 are affected by CVE-2026-49128.
What components are involved in CVE-2026-49128?
CVE-2026-49128 involves vulnerabilities in LocalStorage::MapFSOrThrow and LocalStorage::MapUTF8 within the local storage plugin.