Server
Music Assistant Server Path Traversal in Playlist Update API Allows Remote Code Execution
Music Assistant is an open-source media library manager that integrates streaming services with connected speakers. Versions 2.6.3 and below allow unauthenticated network-adjacent attackers to execute arbitrary code on affected installations. The music/playlists/update API allows users to bypass the .m3u extension enforcement and write files anywhere on the filesystem, which is exacerbated by the container running as root. This can be exploited to achieve Remote Code Execution by writing a malicious .pth file to the Python site-packages directory, which will execute arbitrary commands when Python loads. This issue has been fixed in version 2.7.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.7.0
Fixed in 2.7.0
Mitigation
Upgrade server to 2.7.0 or later.
References
- Vendor advisory github.com/music-assistant/server/security/adv…
- Patch github.com/music-assistant/server/pull/2684
- Release notes github.com/music-assistant/server/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.