Skip to content
Path traversal Advisory Advanced CVE-2026-26975

(Pwn2Own) Music Assistant _update_library_item External Control of File Path Remote Code Execution Vulnerability

The _update_library_item method in Music Assistant fails to validate a user-supplied file path before using it in file operations. A network-adjacent attacker without authentication could exploit this to execute arbitrary code as root.

Emanuele Barbeno Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Music Assistant. Authentication is not required to exploit this vulnerability.

Emanuele Barbeno, Cyrill Bannwart, Urs Mueller, Lukasz D, Yves Bieri of Compass Security, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the _update_library_item method accepts a user-controlled path and uses it in file operations without validating or restricting it.

Impact

A network-adjacent attacker without authentication could execute arbitrary code as root on affected installations.

What the attacker needed

Network-adjacent access; no authentication required

The fix

The vendor issued an update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A function that updates library items takes a file path from the user but does not check it, so a network-adjacent attacker can run their own commands as root.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.