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.
Published: 2026-10-19
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Remote path traversal allowing local file access and media playback
Action: Apply patch
AI Analysis

Impact

Mopidy versions earlier than 4.0.5 contain a path traversal flaw in the FileLibraryProvider.lookup function, which fails to enforce containment checks on the requested file URI. The vulnerability allows any unauthenticated client to craft a file:// URI containing directory traversal sequences and send it via core.library.lookup or core.tracklist.add over JSON‑RPC or WebSocket. Successful exploitation lets the attacker confirm the existence of arbitrary local files, read tag metadata, and trigger playback of out‑of‑sandbox media, thereby compromising file confidentiality and potentially allowing media exploitation.

Affected Systems

The flaw affects all Mopidy installations running any version prior to 4.0.5. No specific media directory constraints are listed; the issue applies to all configured media_dirs.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate threat level. EPSS data is not available and the vulnerability is not listed in CISA KEV, suggesting a lower priority for immediate exploitation, but the attack is straightforward and does not require elevated privileges. An attacker only needs network access to the JSON‑RPC or WebSocket interfaces to send a malicious lookup request.

Generated by OpenCVE AI on October 19, 2026 at 15:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Mopidy to version 4.0.5 or later to apply the containment check fix
  • If upgrading immediately is not feasible, disable or block the JSON‑RPC and WebSocket endpoints used for library or tracklist operations for unauthenticated users
  • Restrict file:// URI handling by configuring Mopidy to only accept media URIs from the configured media_dirs and reject any external file references

Generated by OpenCVE AI on October 19, 2026 at 15:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title Mopidy before 4.0.5 Path Traversal via File Backend library.lookup
First Time appeared Mopidy
Mopidy mopidy
Weaknesses CWE-22
CPEs cpe:2.3:a:mopidy:mopidy:*:*:*:*:*:*:*:*
Vendors & Products Mopidy
Mopidy mopidy
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T14:24:41.987Z

Reserved: 2026-10-17T12:19:42.358Z

Link: CVE-2026-111925

cve-icon Vulnrichment

Updated: 2026-10-19T14:24:32.784Z

cve-icon NVD

Status : Received

Published: 2026-10-19T14:17:00.893

Modified: 2026-10-19T15:16:56.377

Link: CVE-2026-111925

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T15:30:16Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')