{"id":"CVE-2026-123095","kind":"vulnerability","aliases":["CVE-2026-123095"],"related":[],"title":"mpv: playlist URL newlines let attackers open local files or run code","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.","summary":"The bundled ytdl_hook script in mpv, a media player, accepts playlist URLs containing embedded newlines and bypasses its url_is_safe() check. An attacker who controls a feed or web page can make mpv open file:// or av:// inputs, which can read local files or load shared objects through ladspa for code execution.","severity":"high","cvss":7.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["desktop","media-player","mpv","package"],"not_affected_if":["hook-removed","local-files-only","mpv-0.42.0-or-later"],"how_to_check":"- Run `mpv --version` and compare against the fixed release in the product ranges.\n- Check whether the bundled ytdl_hook script is in use (mpv's youtube-dl/yt-dlp hook loaded by default).","fix":"- mpv: `0.42.0`","status":"open","published_at":"2026-11-05T16:17:46+00:00","first_seen_at":"2026-11-05T16:40:02+00:00","triaged_at":"2026-11-05T16:41:28+00:00","updated_at":"2026-11-05T16:41:28+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-05T16:41:28Z","model":"claude-haiku-5-5","output":{"fix":"- mpv: `0.42.0`","reach":"internet","title":"mpv: playlist URL newlines let attackers open local files or run code","impact":"high","summary":"The bundled ytdl_hook script in mpv, a media player, accepts playlist URLs containing embedded newlines and bypasses its url_is_safe() check. An attacker who controls a feed or web page can make mpv open file:// or av:// inputs, which can read local files or load shared objects through ladspa for code execution.","audience":"everyone","category":"package","nicknames":[],"who_cares":["mpv","media-player","desktop"],"confidence":0.6,"fix_status":"available","needs_auth":"no","worst_case":"attacker reads local files or runs code on the machine","analyst_note":"Confirm the affected version range and whether the default ytdl_hook configuration is exploitable; check the linked patch and release notes on github.com.","how_to_check":"- Run `mpv --version` and compare against the fixed release in the product ranges.\n- Check whether the bundled ytdl_hook script is in use (mpv's youtube-dl/yt-dlp hook loaded by default).","plain_action":"Update mpv, the media player, to version 0.42.0 or later.","needs_analyst":true,"not_affected_if":["mpv-0.42.0-or-later","local-files-only","hook-removed"],"who_is_affected":"Anyone running mpv older than 0.42.0 with the bundled ytdl_hook script, which handles online playlists and streams. Opening a playlist or stream from an untrusted feed or page is the trigger. Users who only play local files or who have removed the hook are less exposed.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000732,"input_tokens":4315,"output_tokens":601,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-123095':15A,18A '-2026':14A,17A '0.29.0':78C '0.42.0':80C 'accept':35B 'add':97C 'allow':93C 'attack':6A,49B,95C,106C 'bundl':26B,88C 'bypass':42B,113C 'check':47B 'code':12A,75B,131C 'contain':38B,81C 'control':51B,107C 'cve':13A,16A 'desktop':19B 'embed':39B,101C 'entri':99C 'execut':76B,132C 'feed':53B,109C 'file':9A,67B,123C 'hook':28B,90C 'inject':84C 'input':62B,120C 'ladspa':73B,129C 'let':5A 'load':69B,125C 'local':8A,66B,122C 'make':58B 'media':21B,33B 'media-play':20B 'mpv':1A,23B,31B,59B,77C 'newlin':4A,40B,102C 'object':71B,127C 'open':7A,60B,118C 'packag':24B 'page':56B,111C 'player':22B,34B 'playlist':2A,36B,83C,104C 'read':65B,121C 'remot':94C 'run':11A 'safe':46B,116C 'script':29B,91C 'share':70B,126C 'uncheck':98C 'url':3A,37B,44B,105C,114C 'via':128C 'vulner':85C 'web':55B 'ytdl':27B,89C","nicknames":[],"mitigations":[],"who_affected":"Anyone running mpv older than 0.42.0 with the bundled ytdl_hook script, which handles online playlists and streams. Opening a playlist or stream from an untrusted feed or page is the trigger. Users who only play local files or who have removed the hook are less exposed.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"everyone","plain_action":"Update mpv, the media player, to version 0.42.0 or later.","pkeys":[],"ptokens":[],"labels":["desktop","high","mediaplayer","mpv","package"],"campaign_type":null,"first_public_at":"2026-11-05T16:17:46+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-123095","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123095","severity":null,"published_at":"2026-11-05T16:17:46+00:00","modified_at":"2026-11-05T16:17:46+00:00","first_seen_at":"2026-11-05T16:40:02+00:00","fetched_at":"2026-11-05T16:40:02+00:00","note":null}],"documents":[{"id":77642,"url":"https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":77643,"url":"https://github.com/mpv-player/mpv/releases/tag/v0.42.0","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":77644,"url":"https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}