CVE-2023-30626 Jellyfin vulnerable to directory traversal and file write causing arbitrary code execution

High 8.8 Published Updated

Attackers can exploit directory traversal in Jellyfin to write arbitrary files, potentially leading to code execution when combined with XSS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-30626?

CVE-2023-30626 is a high-severity path traversal vulnerability in jellyfin, published on 24 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jellyfin is a free-software media system. Versions starting with 10.8.0 and prior to 10.8.10 and prior have a directory traversal vulnerability inside the `ClientLogController`, specifically `/ClientLog/Document`. When combined with a cross-site scripting vulnerability (CVE-2023-30627), this can result in file write and arbitrary code execution. Version 10.8.10 has a patch for this issue. There are no known workarounds.

Weakness: CWE-22

Which versions are affected by CVE-2023-30626?

2 open source packages ship an affected version, including Jellyfin.Controller. It affects 1 product.

PackageAffectedFixed in
Jellyfin.Controller NuGetFrom 10.8.010.8.10
Jellyfin.Controller NuGetFrom 10.8.010.8.10

Products include Jellyfin Jellyfin.

How do I fix CVE-2023-30626?

Upgrade Jellyfin.Controller to 10.8.10 or later.

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

Is CVE-2023-30626 being exploited?

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

Sources

Also known as GHSA-9p5f-5x8v-x65m.

Is CVE-2023-30626 in your software?

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

Check your SBOMs for free