CVE-2023-30626 — Vulnerability in Jellyfin.Controller — CVE Details
Directory traversal + file write causing arbitrary code execution
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.34%). Schedule for your next planned update.
Does your project use an affected Jellyfin.Controller version?
Paste your packages.lock.json to check it for CVE-2023-30626 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Frederic Linn (@FredericLinn) has reported a series of vulnerabilities that can result in directory traversal, file write, and potential remote code execution on Jellyfin instances. The general process involves chaining several exploits including a stored XSS vulnerability and can be used by an unprivileged user.
The general process is (using the example of setting an intro video as the payload):
- Create a session as a low-priviledged user with a crafted authorization header
- Upload an executable that contains a malicious plugin inline via /ClientLog/Document
- (Admin hovers over our device in dashboard -> XSS payload gets triggered)
- XSS Payload tries to set encoder path to our uploaded "log" file via /System/MediaEncoder/Path
- The request fails, but in the process our executable actually runs (I guess for verifying if the path points to a valid ffmpeg version)
- The executable will create a plugin folder and place the inlined plugin DLL inside it
- The XSS payload shuts down the server via /System/Shutdown (separate CVE in
jellyfin-web) - After (manually) starting the server, the plugin gets loaded and will:
- write a new video into the Jellyfin temp folder and register it
- register this video as the new intro
- and finally provide a malicious endpoint that simply executes system commands and sends back the results
The ability to write arbitrary content to log files was added in #5918 to allow flexibility to client logging.
The following two sections detail Frederic's exact determinations regarding the two vulnerabilities.
Directory traversal and file write
I've been reading the codebase here and there for a couple of days and found a directory traversal inside the ClientLogController, specifically /ClientLog/Document.
The GetRequestInformation method retrieves the name and version of the client from the HttpContext.User object.
Those values are attacker controlled when authenticating against the API. Both values are interpolated into a string, which ultimately ends up as an argument to Path.Combine().
Setting a client name to the relative path "........\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\test" will write a file with completely attacker controlled content to the executing user's autostart directory.
However, because the attacker only partially controls the filename, exploitation proves to be tricky. That's because the resulting file will always end in ".log", which means putting something in the autostart directory is only going to open notepad on startup. I mean, we can at least insult the user :^).
Anyway, the next logical step would be to write into Jellyfin's plugins directory, but the sub-directories there (of which the already existing configurations directory conveniently counts as one!) are only getting scanned for ".dll" files.
This stops an attacker from providing malicious DLLs that implement the correct interfaces in order to be recognized as legitimate plugins.
On Linux, there might be more options. Running as the standard root user inside a container, an attacker could of course write anywhere. There's the very interesting "/etc/cron.d" directory, where an attacker can place cron jobs that get picked up automatically. Those files, however, can't contain a dot. Moreover, inside the container the cronjobs are probably not being executed, as the Jellyfin process should be only one running.
For the stored XSS component, see https://github.com/jellyfin/jellyfin-web/security/advisories/GHSA-89hp-h43h-r5pq
Patches
10.8.10
Workarounds
N/A
References
A complete write-up is available here: https://gebir.ge/blog/peanut-butter-jellyfin-time/
Advisory Timeline
- First published April 24, 2023 (1312 days ago).
- Last revised February 4, 2026 — 1016 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Jellyfin.Controller --version 10.8.10
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| Jellyfin.Controller NuGet · Affected: 10.8.0, 10.8.1, 10.8.2, 10.8.3 (+1 more) | 10.8.10 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/jellyfin/jellyfin-web/security/advisories/GHSA-89hp-h43h-r5pqWEB
- https://github.com/jellyfin/jellyfin/security/advisories/GHSA-9p5f-5x8v-x65mWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-30626ADVISORY
- https://github.com/jellyfin/jellyfin/pull/5918WEB
- https://github.com/jellyfin/jellyfin/commit/82ad2633fdfb1c37a158057c7935f83e1129eda7WEB
- https://github.com/jellyfin/jellyfinPACKAGE
- https://github.com/jellyfin/jellyfin/blob/22d880662283980dec994cd7d35fe269613bfce3/Jellyfin.Api/Controllers/ClientLogController.cs#L44WEB
- https://github.com/jellyfin/jellyfin/releases/tag/v10.8.10WEB
Frequently Asked Questions
- What is CVE-2023-30626?
- Directory traversal + file write causing arbitrary code execution. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2023-30626?
- CVE-2023-30626 affects Jellyfin.Controller. It has a 2.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-30626 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 84.3% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion