CVE-2026-10108
xiaomusic v0.5.7 contains an unauthenticated path traversal …
xiaomusic v0.5.7 contains an unauthenticated path traversal vulnerability in the GET /music/{file_path:path} endpoint that allows unauthenticated attackers to read arbitrary files outside the intended music directory by exploiting an incomplete path prefix check. Attackers can request files from sibling directories whose names share the music_path prefix by crafting traversal sequences, bypassing the path restriction due to the missing trailing separator in the comparison logic to retrieve arbitrary files from the server.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/hanxi/xiaomusic/commit/88404da7a283f2c0a796a4cd16bbb6e6aa1f4722
- github.com/hanxi/xiaomusic/issues/890
- github.com/hanxi/xiaomusic/pull/891
- www.vulncheck.com/advisories/xiaomusic-path-traversal-via-get-music-endpoint
- nvd.nist.gov/vuln/detail/CVE-2026-10108
- github.com/advisories/GHSA-5j8p-5rrj-8wjg
- nvd.nist.gov/vuln/detail/CVE-2026-10108
- cve.org/CVERecord?id=CVE-2026-10108
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.