{"id":"CVE-2026-10108","published":"2026-05-29T16:51:41Z","modified":"2026-11-08T14:00:40Z","title":"xiaomusic 0.5.7 Path Traversal via GET /music endpoint","vendor":"hanxi","product":"xiaomusic","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00652,"percentile":0.52202,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/hanxi/xiaomusic/issues/890","tags":["issue-tracking"]},{"url":"https://github.com/hanxi/xiaomusic/pull/891","tags":["issue-tracking","patch"]},{"url":"https://github.com/hanxi/xiaomusic/commit/88404da7a283f2c0a796a4cd16bbb6e6aa1f4722","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/xiaomusic-path-traversal-via-get-music-endpoint","tags":["third-party-advisory"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.44},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"hanxi","affectedVersions":[{"vendor":"hanxi","product":"xiaomusic","versions":["<= 0.5.7","<= 88404da7a283f2c0a796a4cd16bbb6e6aa1f4722"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-01T13:28:29.160852Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"xiaomusic","vulnerableRanges":["<0.5.8"],"patched":["0.5.8"],"from":["GHSA-5j8p-5rrj-8wjg","PYSEC-2026-3429"],"provenance":"source"}],"summary":{"text":"The xiaomusic application (vendor hanxi), version 0.5.7, has a path traversal flaw in its GET /music/{file_path:path} endpoint, where an incomplete path prefix check fails to confine requests to the music directory. An unauthenticated remote attacker can exploit it by sending crafted traversal sequences to read arbitrary files from sibling directories whose names share the music_path prefix, with no authentication, user interaction, or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:39Z"},"euvd":{"id":"EUVD-2026-33366","exploited":false,"provenance":"source"}}