8.8high
Music Assistant Server Path Traversal in Playlist Update API Allows Remote Code Execution
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.53% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| music-assistant server | < 2.7.0 | CVE List |
| music-assistant music_assistant_server | before 2.7.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Music Assistant es un gestor de biblioteca de medios de código abierto que integra servicios de streaming con altavoces conectados. Las versiones 2.6.3 e inferiores permiten a atacantes adyacentes a la red no autenticados ejecutar código arbitrario en las instalaciones afectadas. La API music/playlists/update permite a los usuarios eludir la aplicación de la extensión .m3u y escribir archivos en cualquier lugar del sistema de archivos, lo cual se ve exacerbado por el contenedor que se ejecuta como root. Esto puede ser explotado para lograr la ejecución remota de código escribiendo un archivo .pth malicioso en el directorio site-packages de Python, lo que ejecutará comandos arbitrarios cuando Python cargue. Este problema ha sido solucionado en la versión 2.7.0.
References
| https://github.com/music-assistant/server/security/advisories/GHSA-7jcc-p6xr-835j | exploit, vendor-advisory | |
| https://github.com/music-assistant/server/pull/2684 | issue-tracking | |
| https://github.com/music-assistant/server/releases/tag/2.7.0 | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-26975 changed 2026-02-20 | CVE Terms of Use |
| NVD | CVE-2026-26975 changed 2026-06-17 | Public domain |