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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MusicPlayerDaemon | MPD | < 0.24.11 | 0.24.11 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mpd | 0.24.12-1 | — |
| Debian 13 | mpd | No fix yet | — |
| Debian 12 | mpd | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mpd | No fix yet | — |
| Ubuntu 26.04 LTS | mpd | No fix yet | — |
| Ubuntu 25.10 | mpd | No fix yet | — |
| Ubuntu 24.04 LTS | mpd | No fix yet | — |
| Ubuntu 22.04 LTS | mpd | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | mpd | No fix yet | — |
| Ubuntu 18.04 LTS | mpd | No fix yet | — |
| Ubuntu 16.04 LTS | mpd | No fix yet | — |
References
- https://mstreet97.github.io/security-research/opensource/vulnerability-disclosure/cybersecurity/cve/2026/05/25/Four_Bugs_Reachable_nc.html technical-description exploit
- https://www.musicpd.org/news/2026/05/mpd-0-24-11-released/ release-notes patch
- https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.24.11/NEWS release-notes
- MPD 0.24.11 Release Notes release-notes
- https://github.com/MusicPlayerDaemon/MPD/issues/2484 issue-tracking
- https://github.com/MusicPlayerDaemon/MPD/commit/0b5315b9e5a42cb0e88bf46a7579bb5641543f60 patch
- https://www.vulncheck.com/advisories/music-player-daemon-path-traversal-via-localstorage-uri-handling third-party-advisory