Music Assistant: Remote Code Execution by authenticated user
- State
- Published
- Severity
- 8.0 High
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Aug 13, 2026
Description
Music Assistant is an open-source media library manager that integrates streaming services with connected speakers. Prior to 2.8.0, parse_arguments() passes the caller-controlled return_type parameter for config/core/get_value, config/providers/get_value, and config/players/get_value to parse_value() and Python eval() when resolving type parameters in music_assistant/helpers/api.py. Any authenticated user, regardless of role, can reach these commands through the WebSocket /ws endpoint or the REST JSON-RPC /api endpoint, causing arbitrary Python code to run with the Music Assistant server process privileges before command-handler validation, even if the request later fails. A default installation requires no special configuration, and compromise can expose secrets and configuration, alter library data, and control the application container. This issue is fixed in version 2.8.0.
| Product | Versions |
|---|---|
| server music-assistant | < 2.8.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 8.0 High | GitHub_M |
Weaknesses
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
References
- https://github.com/music-assistant/server/security/advisories/GHSA-cjp7-8r57-vc8f
- https://github.com/music-assistant/server/pull/3271
- https://github.com/music-assistant/server/commit/c7408625bdaa08bdd4419255fccb1c7f82828d26
- https://github.com/music-assistant/server/commit/d79ffd1e393eacc9d9402eaa26ff50d9618b247b
- https://github.com/music-assistant/server/releases/tag/2.8.0
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.