UBUNTU-CVE-2026-55404
A vulnerability in yt-dlp and youtube-dl prior to version 2026.7.4 allows attacker-controlled metadata to be written into .url or .desktop shortcut files without proper validation. This can lead to malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linux, potentially enabling command execution when the shortcut is opened. The issue is fixed in version 2026.7.4.
AI Analysis
Technical Summary
yt-dlp and youtube-dl are command-line tools for downloading audio and video. Versions prior to 2026.7.4 have a vulnerability in the --write-link, --write-url-link, and --write-desktop-link options, which write shortcut files (.url or .desktop) using metadata fields that can be attacker-controlled. Insufficient validation or escaping of these fields allows injection of malicious file:// URIs on Windows or newline-based key injection in Linux desktop entries. This can result in arbitrary command execution if the generated shortcut file is opened by the user. The vulnerability is resolved in version 2026.7.4.
Potential Impact
Successful exploitation allows an attacker to craft shortcut files that execute arbitrary commands when opened by the user, leading to potential full compromise of the affected system. The vulnerability affects both Windows and Linux platforms via different injection techniques. The CVSS vector indicates network attack vector with high impact on confidentiality, integrity, and availability, but requires user interaction and has high attack complexity.
Mitigation Recommendations
This vulnerability is fixed in yt-dlp and youtube-dl version 2026.7.4. Users should upgrade to version 2026.7.4 or later to remediate this issue. No other mitigations are indicated by the vendor advisory.
UBUNTU-CVE-2026-55404
Description
A vulnerability in yt-dlp and youtube-dl prior to version 2026.7.4 allows attacker-controlled metadata to be written into .url or .desktop shortcut files without proper validation. This can lead to malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linux, potentially enabling command execution when the shortcut is opened. The issue is fixed in version 2026.7.4.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/[email protected]?arch=source&distro=xenialpkg:deb/ubuntu/[email protected]?arch=source&distro=bionicpkg:deb/ubuntu/[email protected]?arch=source&distro=focalpkg:deb/ubuntu/[email protected]?arch=source&distro=jammypkg:deb/ubuntu/[email protected]?arch=source&distro=jammypkg:deb/ubuntu/[email protected]?arch=source&distro=noblepkg:deb/ubuntu/[email protected]?arch=source&distro=questingpkg:deb/ubuntu/[email protected]?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
yt-dlp and youtube-dl are command-line tools for downloading audio and video. Versions prior to 2026.7.4 have a vulnerability in the --write-link, --write-url-link, and --write-desktop-link options, which write shortcut files (.url or .desktop) using metadata fields that can be attacker-controlled. Insufficient validation or escaping of these fields allows injection of malicious file:// URIs on Windows or newline-based key injection in Linux desktop entries. This can result in arbitrary command execution if the generated shortcut file is opened by the user. The vulnerability is resolved in version 2026.7.4.
Potential Impact
Successful exploitation allows an attacker to craft shortcut files that execute arbitrary commands when opened by the user, leading to potential full compromise of the affected system. The vulnerability affects both Windows and Linux platforms via different injection techniques. The CVSS vector indicates network attack vector with high impact on confidentiality, integrity, and availability, but requires user interaction and has high attack complexity.
Mitigation Recommendations
This vulnerability is fixed in yt-dlp and youtube-dl version 2026.7.4. Users should upgrade to version 2026.7.4 or later to remediate this issue. No other mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-55404
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a58b47868715ace43d97d39
Added to database: 07/16/2026, 10:37:44 UTC
Last enriched: 07/16/2026, 11:52:01 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.