CVE-2025-31499: Jellyfin Vulnerable to Argument Injection in FFmpeg
Jellyfin is an open source self hosted media server. Versions before 10.10.7 are vulnerable to argument injection in FFmpeg. This can be leveraged to possibly achieve remote code execution by anyone with credentials to a low-privileged user. This vulnerability was previously reported in CVE-2023-49096 and patched in version 10.8.13, but the patch can be bypassed. The original fix sanitizes some parameters to make injection impossible, but certain unsanitized parameters can still be used for argument injection. The same unauthenticated endpoints are vulnerable: /Videos/<itemId>/stream and /Videos/<itemId>/stream.<container>, likely alongside similar endpoints in AudioController. This argument injection can be exploited to achieve arbitrary file write, leading to possible remote code execution through the plugin system. While the unauthenticated endpoints are vulnerable, a valid itemId is required for exploitation and any authenticated attacker could easily retrieve a valid itemId to make the exploit work. This vulnerability is patched in version 10.10.7.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-31499?
CVE-2025-31499 is considered a high severity vulnerability due to the potential for remote code execution.
How do I fix CVE-2025-31499?
To fix CVE-2025-31499, upgrade your Jellyfin installation to version 10.10.7 or later.
Who is affected by CVE-2025-31499?
CVE-2025-31499 affects Jellyfin versions prior to 10.10.7, particularly users with low-privileged credentials.
What type of vulnerability is CVE-2025-31499?
CVE-2025-31499 is an argument injection vulnerability found in FFmpeg used by Jellyfin.
Can CVE-2025-31499 be exploited remotely?
Yes, CVE-2025-31499 can be exploited remotely by users with low-privileged access to the Jellyfin server.