{"answers":{"affected":"3 open source packages ship an affected version, including xiaomusic.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-10108 exists.","fix":"Upgrade xiaomusic to 0.5.8 or later.","what":"CVE-2026-10108 is a high-severity path traversal vulnerability in hanxi xiaomusic, published on 29 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-10108 and fix it if it is affected.\n\nWhat it is: CVE-2026-10108 is a high-severity path traversal vulnerability in hanxi xiaomusic, published on 29 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-10108 exists.\n\nAffected packages and fixed versions:\n- xiaomusic (PyPI): affected all versions; fixed in 0.5.8\n- xiaomusic (PyPI): affected all versions; fixed in 0.5.8\n- xiaomusic (PyPI): affected all versions; fixed in 0.5.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-10108/ (Markdown: https://insights.sbomify.com/CVE-2026-10108/index.md)","id":"CVE-2026-10108","markdown":"https://insights.sbomify.com/CVE-2026-10108/index.md","name":"CVE-2026-10108","record":{"aliases":["GHSA-5j8p-5rrj-8wjg","PYSEC-2026-3429"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Xiaomi music server","requires_auth":"none","summary":"Unauthenticated attackers can read arbitrary files outside the intended directory via path traversal in the GET /music endpoint.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"xiaomusic 0.5.7 Path Traversal via GET /music endpoint","id":"CVE-2026-10108","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"IBM® Db2® is vulnerable to remote code execution due to improper pre-auth DRDA handshake handling","id":"CVE-2026-10109"},"packages":[{"ecosystem":"PyPI","fixed":["0.5.8"],"introduced":["0"],"last_affected":[],"package":"xiaomusic","purl":null,"source":"GHSA-5j8p-5rrj-8wjg"},{"ecosystem":"PyPI","fixed":["0.5.8"],"introduced":["0"],"last_affected":[],"package":"xiaomusic","purl":"pkg:pypi/xiaomusic","source":"GHSA-5j8p-5rrj-8wjg"},{"ecosystem":"PyPI","fixed":["0.5.8"],"introduced":["0"],"last_affected":[],"package":"xiaomusic","purl":"pkg:pypi/xiaomusic","source":"PYSEC-2026-3429"}],"prev":{"headline":"MoviePilot v2 SSRF via /api/v1/system/img/{proxy} Endpoint","id":"CVE-2026-10107"},"products":["xiaomusic"],"published":"2026-05-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["hanxi"]},"summary":"Unauthenticated attackers can read arbitrary files outside the intended directory via path traversal in the GET /music endpoint.","url":"https://insights.sbomify.com/CVE-2026-10108/"}