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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Mopidy | Mopidy | < 4.0.5 | 4.0.5 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mopidy | 4.0.5-1 | — |
| Debian 13 | mopidy | No fix yet | — |
| Debian 12 | mopidy | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mopidy | No fix yet | — |
| Ubuntu 26.04 LTS | mopidy | No fix yet | — |
| Ubuntu 24.04 LTS | mopidy | No fix yet | — |
| Ubuntu 22.04 LTS | mopidy | No fix yet | — |
| Ubuntu 20.04 LTS | mopidy | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | mopidy | No fix yet | — |
| Ubuntu 16.04 LTS | mopidy | No fix yet | — |
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
- Mopidy v4.0.5 Release Notes release-notes
- VulnCheck Advisory: Mopidy before 4.0.5 Path Traversal via File Backend library.lookup third-party-advisory