Description
mpv 0.29.0 before 0.42.0 contains a playlist injection vulnerability in the bundled ytdl_hook script that allows remote attackers to add unchecked entries by embedding newlines in playlist URLs. Attackers controlling a feed or page can bypass url_is_safe() to open file:// or av:// inputs, reading local files or loading shared objects via ladspa for code execution.
Published: 2026-11-05
Score: 7.7 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from the ytdl_hook script bundled with mpv, which parses playlist URLs without properly sanitizing newline characters. By embedding newlines, an attacker can inject additional entries that bypass the url_is_safe() check and cause the player to treat the entries as file:// or av:// protocols. This permits reading local files and loading shared objects via ladspa, potentially resulting in arbitrary code execution on the host.

Affected Systems

The flaw affects mpv-player's mpv from version 0.29.0 up to but excluding 0.42.0. Users running any version in that range on platforms where the ytdl_hook script is enabled are at risk.

Risk and Exploitability

The CVSS score of 7.7 categorises the issue as high severity. EPSS data is unavailable but the absence of a KEV listing indicates no publicly known exploitation yet. The likely attack vector is a remote attacker who can control the generation of a playlist file or a page served to the MPV client, injecting malicious URLs containing newline characters. If the victim's settings allow automatic execution of playlist entries, the injected file or ladspa modules could run with the privileges of the MPV process.

Generated by OpenCVE AI on November 5, 2026 at 16:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mpv to version 0.42.0 or later, which removes the flawed ytdl_hook logic.
  • If an upgrade is not immediately possible, disable the ytdl_hook Lua script or configure MPV to reject unsafe protocols such as file:// or av:// in playlist URLs.
  • Apply additional input sanitization or whitelist checks in any scripts that generate or serve playlist files to the MPV client.
  • Monitor system logs for unusual file access or dynamic library loading patterns that could indicate exploitation attempts.

Generated by OpenCVE AI on November 5, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Description mpv 0.29.0 before 0.42.0 contains a playlist injection vulnerability in the bundled ytdl_hook script that allows remote attackers to add unchecked entries by embedding newlines in playlist URLs. Attackers controlling a feed or page can bypass url_is_safe() to open file:// or av:// inputs, reading local files or loading shared objects via ladspa for code execution.
Title mpv 0.29.0 before 0.42.0 Playlist Entry Injection via ytdl_hook Newlines
First Time appeared Mpv
Mpv mpv
Weaknesses CWE-93
CPEs cpe:2.3:a:mpv:mpv:*:*:*:*:*:*:*:*
Vendors & Products Mpv
Mpv mpv
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-05T15:11:49.933Z

Reserved: 2026-11-05T12:22:13.130Z

Link: CVE-2026-123095

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T16:17:46.580

Modified: 2026-11-05T16:17:46.580

Link: CVE-2026-123095

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T16:45:06Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')