CVE-2026-10108 Details
Description
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.
A path traversal vulnerability has been identified in xiaomusic version 0.5.7, specifically in the GET /music/{file_path:path} endpoint. This vulnerability allows unauthenticated attackers to read arbitrary files from sibling directories outside the designated music directory. The issue arises from an incomplete path prefix validation that fails to include a trailing separator, enabling attackers to craft traversal sequences that bypass the intended path restrictions. Exploitation of this vulnerability could lead to unauthorized access to sensitive files on the server.
Users are advised to update to xiaomusic version 0.5.8 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 29, 2026CISA-ADP
Assessed Jun 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hanxi/xiaomusic/issues/890 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/hanxi/xiaomusic/commit/88404da7a283f2c0a796a4cd16bbb6e6aa1f4722 | [email protected] | Source CodeVendor |
| https://github.com/hanxi/xiaomusic/issues/890 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/hanxi/xiaomusic/pull/891 | [email protected] | Issue TrackingVendor |
| https://www.vulncheck.com/advisories/xiaomusic-path-traversal-via-get-music-endpoint | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xiaomusic | <= 0.5.7 (semver) |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2026 | CVE Modified | [email protected] |
| Jul 21, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 1, 2026 | CVE Modified | CISA-ADP |
| May 29, 2026 | New CVE Received | [email protected] |
Volerion