CVE-2026-10108 PUBLISHED

xiaomusic 0.5.7 Path Traversal via GET /music endpoint

Assigner: VulnCheck
Reserved: 29.05.2026 Published: 29.05.2026 Updated: 29.05.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor hanxi
Product xiaomusic
Versions Default: unknown
  • affected from 0 to 0.5.7 (incl.)
  • affected from 0 to 88404da7a283f2c0a796a4cd16bbb6e6aa1f4722 (incl.)

Credits

  • YU SUN finder

References

Problem Types

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE