---
id: CVE-2026-123095
title: mpv 0.29.0 before 0.42.0 Playlist Entry Injection via ytdl_hook Newlines
summary: >-
  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 b…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-93
vendor: mpv-player
product: mpv
affected:
  - mpv >= 0.29.0 < 0.42.0
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T15:11:49.933Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-123095'
references:
  - url: 'https://github.com/mpv-player/mpv/pull/18762'
  - url: >-
      https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856
  - url: >-
      https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L244-L251
  - url: >-
      https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L1115-L1137
  - url: 'https://github.com/mpv-player/mpv/releases/tag/v0.42.0'
    label: mpv v0.42.0 Release Notes
  - url: 'https://github.com/mpv-player/mpv'
  - url: >-
      https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines
    label: >-
      VulnCheck Advisory: mpv 0.29.0 before 0.42.0 Playlist Entry Injection via
      ytdl_hook Newlines
tags:
  - cve.org
ingestedAt: '2026-11-05T21:36:00.895Z'
epss: 0.00494
epssPercentile: 0.42607
---

## Overview

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.

## Affected

- `mpv >= 0.29.0 < 0.42.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
