---
title: "CVE-2026-123095: mpv - Code Execution & File Read via Playlist Injection"
description: "mpv < 0.42.0 contains a playlist injection vulnerability in the bundled ytdl_hook script caused by unchecked newlines in playlist URLs, letting remote attackers read local files or execute code via crafted inputs, exploit requires attacker control of feed or page."
url: https://panop.io/threat-heartbeat/CVE-2026-123095/
---

# CVE-2026-123095 mpv - Code Execution & File Read via Playlist Injection

mpv < 0.42.0 contains a playlist injection vulnerability in the bundled ytdl\_hook script caused by unchecked newlines in playlist URLs, letting remote attackers read local files or execute code via crafted inputs, exploit requires attacker control of feed or page.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

EPSS

0.49% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-123095)

## Details

Type

Code Execution

Impact

File System Read, Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

5 November 2026

Updated

7 November 2026

Weakness

[CWE-93](https://cwe.mitre.org/data/definitions/93.html)

## Vendor fix

Update to version 0.42.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-123095](https://nvd.nist.gov/vuln/detail/CVE-2026-123095)
- [https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856](https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856)
- [https://github.com/mpv-player/mpv/pull/18762](https://github.com/mpv-player/mpv/pull/18762)
- [https://github.com/mpv-player/mpv/releases/tag/v0.42.0](https://github.com/mpv-player/mpv/releases/tag/v0.42.0)
- [https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines](https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines)
- [https://github.com/mpv-player/mpv](https://github.com/mpv-player/mpv)
- [https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl\_hook.lua#L1115-L1137](https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L1115-L1137)
- [https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl\_hook.lua#L244-L251](https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L244-L251)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
