Advisory

PYSEC-2026-3429

Also known as: CVE-2026-10108, GHSA-5j8p-5rrj-8wjg

Summary

xiaomusic contains an unauthenticated path traversal vulnerability

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:33 UTC

Affected packages and fixes

xiaomusic

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.8 (ecosystem)

Fixed versions

0.5.8

Fix

  • Fixed version 0.5.8
    pip install --upgrade xiaomusic==0.5.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences