CVE-2026-135708: FFmpeg 8.0 before 9.1 Arbitrary File Truncation via WHIP Muxer Location Header
FFmpeg 8.0 before 9.1 contains an improper URL scheme validation vulnerability in the WHIP muxer that allows malicious WHIP servers to create or truncate local files via the Location header. Attackers can return a file: URL that disposesession() opens read-write with truncation on teardown, destroying arbitrary user-writable files or redirecting requests to other protocols.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of FFmpeg 8.0 before 9.1 are exposed when they use the WHIP muxer with a malicious or compromised WHIP server. Exploitation can affect files writable by the user running FFmpeg.
What must an attacker do to exploit it?
The attacker must control the WHIP server response and return a crafted Location header containing a file: URL. When FFmpeg tears down the WHIP session, it can open that local path read-write with truncation.
Does exploitation require local access or elevated privileges?
The vulnerability has local attack vector and no privileges required, but user interaction is required. The attacker relies on the user running FFmpeg against the malicious WHIP server; the impact is limited to files that the FFmpeg process can write.
What is the practical impact?
A malicious server can cause arbitrary user-writable local files to be created or truncated, resulting in loss or corruption of file contents. The crafted Location value may also redirect requests to other protocols.