CVE-2026-10108

HIGH

xiaomusic 0.5.7 Path Traversal via GET /music endpoint

Title source: cna
STIX 2.1

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.

References (4)

Core 4
Core References
Issue Tracking issue-tracking
GitHub Issue
https://github.com/hanxi/xiaomusic/issues/890
Technical Description technical-description
Pull Request
https://github.com/hanxi/xiaomusic/pull/891
Third Party Advisory third-party-advisory
Release Notes
https://www.vulncheck.com/advisories/xiaomusic-path-traversal-via-get-music-endpoint

Scores

CVSS v3 7.5
EPSS 0.0047
EPSS Percentile 36.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
hanxi/xiaomusic < 0.5.7
hanxi/xiaomusic < 88404da7a283f2c0a796a4cd16bbb6e6aa1f4722
Published May 29, 2026
Tracked Since May 29, 2026