Vulnerabilities in pkg:pypi/xiaomusic
PACKAGECVE-2026-10108 is a HIGH (CVSS 7.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Xiaomusic libraries in the PyPI ecosystem. The issue involves xiaomusic contains an unauthenticated path traversal vulnerability. Remediation is available by upgrading affected packages to version 0.5.8.
pkg:pypi/xiaomusic
Vulnerability advisories affecting package pkg:pypi/xiaomusic. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-5j8p-5rrj-8wjg | CVE-2026-10108 | HIGH | xiaomusic contains an unauthenticated path traversal vulnerability |
CVE-2026-10108 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-10108
To remediate this vulnerability, upgrade all affected Xiaomusic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install xiaomusic>=0.5.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show xiaomusic
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-10108, inspect your installed packages using pip:
pip show xiaomusic
Analyze the terminal output to locate any version of Xiaomusic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.8), your application is affected.
Note: The pip show xiaomusic command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Xiaomusic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-10108 Affected Xiaomusic Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
xiaomusic
|
PyPI |
< 0.5.8
|
0.5.8
|
References
Frequently Asked Questions
What is CVE-2026-10108?
Which Xiaomusic versions are affected?
What version fixes CVE-2026-10108?
Is xiaomusic affected?
What is the CVSS score of CVE-2026-10108?
What CWE is associated with CVE-2026-10108?
How can I check PyPI dependencies for CVE-2026-10108?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5j8p-5rrj-8wjg",
"modified" : "2026-07-02T20:53:26Z",
"published" : "2026-05-29T18:31:35Z",
"aliases" : [ "CVE-2026-10108" ],
"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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "xiaomusic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10108"
}, {
"type" : "WEB",
"url" : "https://github.com/hanxi/xiaomusic/issues/890"
}, {
"type" : "WEB",
"url" : "https://github.com/hanxi/xiaomusic/pull/891"
}, {
"type" : "WEB",
"url" : "https://github.com/hanxi/xiaomusic/commit/88404da7a283f2c0a796a4cd16bbb6e6aa1f4722"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hanxi/xiaomusic"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/xiaomusic-path-traversal-via-get-music-endpoint"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-02T20:53:26Z",
"nvd_published_at" : "2026-05-29T18:16:31Z"
}
}