CVE-2026-10108: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in hanxi xiaomusic
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.
AI Analysis
Technical Summary
CVE-2026-10108 is a path traversal vulnerability (CWE-22) in hanxi xiaomusic v0.5.7. The vulnerability exists in the GET /music/{file_path:path} endpoint where an incomplete path prefix check fails to properly restrict file access. Specifically, the check does not include a trailing separator in the comparison logic, enabling attackers to craft traversal sequences that bypass the restriction and read arbitrary files outside the intended music directory without authentication.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server outside the designated music directory. This can lead to unauthorized disclosure of sensitive information. The CVSS 3.1 base score is 7.5, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality impact without integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the vulnerable endpoint and monitor for suspicious requests attempting path traversal sequences. Avoid exposing the service publicly if possible.
CVE-2026-10108: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in hanxi xiaomusic
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-10108 is a path traversal vulnerability (CWE-22) in hanxi xiaomusic v0.5.7. The vulnerability exists in the GET /music/{file_path:path} endpoint where an incomplete path prefix check fails to properly restrict file access. Specifically, the check does not include a trailing separator in the comparison logic, enabling attackers to craft traversal sequences that bypass the restriction and read arbitrary files outside the intended music directory without authentication.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server outside the designated music directory. This can lead to unauthorized disclosure of sensitive information. The CVSS 3.1 base score is 7.5, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality impact without integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the vulnerable endpoint and monitor for suspicious requests attempting path traversal sequences. Avoid exposing the service publicly if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-29T16:45:04.347Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a19cdf2e29bf47b50fb46fb
Added to database: 05/29/2026, 17:33:38 UTC
Last enriched: 07/02/2026, 23:05:12 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 53
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.