CVE-2026-135708 FFmpeg 8.0 before 9.1 Arbitrary File Truncation via WHIP Muxer Location Header

Published Updated

Malicious WHIP servers can make FFmpeg's muxer open read-write local files, truncating arbitrary user files or redirecting requests.

CVSS score

Medium

6.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
9.1
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-135708?

CVE-2026-135708 is a medium-severity path traversal vulnerability in FFmpeg, published on 24 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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 dispose_session() opens read-write with truncation on teardown, destroying arbitrary user-writable files or redirecting requests to other protocols.

Weakness: CWE-73

How severe is CVE-2026-135708?

CVE-2026-135708 scores 6.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
High
Availability
None

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-135708?

1 open source package ship an affected version, including ffmpeg/ffmpeg. It affects 1 product.

An affected version is only exploitable if your software calls dispose_session(). Many projects that include it are not exposed.

PackageAffectedFixed in
ffmpeg/ffmpeg GitHub
pkg:github/ffmpeg/ffmpeg
From 8.09.1
Status by vendor 1
WhoReleaseStatusPackages
Upstreamfixedffmpeg:ffmpeg (9.1)

Products include FFmpeg.

CPE match criteria 1
CPE 2.3Versions
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*from 8.0, before 9.1

How do I fix CVE-2026-135708?

Upgrade ffmpeg/ffmpeg to 9.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-135708 being exploited?

There is no known exploitation of CVE-2026-135708 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All FFmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-135708, GHSA-qpr5-c4fj-wmgp, UBUNTU-CVE-2026-135708.

Is CVE-2026-135708 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free