Description
Mopidy before 4.0.5 contains a path traversal vulnerability that allows unauthenticated clients to access local files outside file/media_dirs because FileLibraryProvider.lookup() lacks a containment check. Attackers can call core.library.lookup or core.tracklist.add over JSON-RPC or WebSocket with file:// URIs to probe file existence, read tag metadata, and play out-of-sandbox files.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mopidy | Mopidy | 0 to <4.0.5 [affected] |
References
- https://github.com/mopidy/mopidy/issues/2350 (issue-tracking)
- https://github.com/mopidy/mopidy/commit/f23c1f8621c3f4eb07a35d37fccb597449d36415 (patch)
- https://github.com/mopidy/mopidy/blob/v4.0.4/src/mopidy/_exts/file/library.py (technical-description)
- https://github.com/mopidy/mopidy/releases/tag/v4.0.5 (release-notes)
- https://www.vulncheck.com/advisories/mopidy-before-4.0.5-path-traversal-via-file-backend-library-lookup (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 20 Oct 2026 07:03 UTC.