xiaomusic contains an unauthenticated path traversal vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | xiaomusic | < 0.5.8 | 0.5.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-10108
- https://github.com/hanxi/xiaomusic/issues/890
- https://github.com/hanxi/xiaomusic/pull/891
- https://github.com/hanxi/xiaomusic/commit/88404da7a283f2c0a796a4cd16bbb6e6aa1f4722
- https://github.com/hanxi/xiaomusic
- https://www.vulncheck.com/advisories/xiaomusic-path-traversal-via-get-music-endpoint
- https://pypi.org/project/xiaomusic
- https://github.com/advisories/GHSA-5j8p-5rrj-8wjg
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
xiaomusic- Disclosed
- 29.05.2026
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-3429 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-5j8p-5rrj-8wjg - CC BY 4.0
Vulnerability history: xiaomusic
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.