CVE-2026-49128: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MusicPlayerDaemon MPD
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 music_directory.
AI Analysis
Technical Summary
CVE-2026-49128 is a path traversal vulnerability in Music Player Daemon (MPD) prior to version 0.24.11. The issue exists in the LocalStorage::MapFSOrThrow and LocalStorage::MapUTF8 functions within the local storage plugin, where the on-disk path is constructed by concatenating the storage root with a user-supplied URI as plain strings without canonicalization. This allows '..' path segments to persist and be resolved by the kernel at openat() time, enabling an unauthenticated attacker to enumerate arbitrary directory contents and read image files outside the configured music directory using the listfiles and albumart commands.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to enumerate names, sizes, and modification times of arbitrary directories accessible by the MPD process. Additionally, the attacker can read image files from any directory outside the configured music directory. This leads to unauthorized information disclosure, potentially exposing sensitive file metadata and contents.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the MPD service to trusted networks and users to reduce exposure. Monitor for updates from the Music Player Daemon project regarding patches or official mitigations.
CVE-2026-49128: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MusicPlayerDaemon MPD
Description
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 music_directory.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/musicplayerdaemon/MPDRun 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
Technical Analysis
CVE-2026-49128 is a path traversal vulnerability in Music Player Daemon (MPD) prior to version 0.24.11. The issue exists in the LocalStorage::MapFSOrThrow and LocalStorage::MapUTF8 functions within the local storage plugin, where the on-disk path is constructed by concatenating the storage root with a user-supplied URI as plain strings without canonicalization. This allows '..' path segments to persist and be resolved by the kernel at openat() time, enabling an unauthenticated attacker to enumerate arbitrary directory contents and read image files outside the configured music directory using the listfiles and albumart commands.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to enumerate names, sizes, and modification times of arbitrary directories accessible by the MPD process. Additionally, the attacker can read image files from any directory outside the configured music directory. This leads to unauthorized information disclosure, potentially exposing sensitive file metadata and contents.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the MPD service to trusted networks and users to reduce exposure. Monitor for updates from the Music Player Daemon project regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-27T17:40:12.738Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a189d28e29bf47b50227a60
Added to database: 05/28/2026, 19:53:12 UTC
Last enriched: 07/30/2026, 00:44:52 UTC
Last updated: 07/31/2026, 21:26:47 UTC
Views: 50
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.
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.