{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-31499 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-31499 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-31499 is a high-severity command injection vulnerability in jellyfin, published on 15 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-31499 and fix it if it is affected.\n\nWhat it is: CVE-2025-31499 is a high-severity command injection vulnerability in jellyfin, published on 15 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-31499 in the wild and no public exploit code.\n\nAffected product: jellyfin. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-31499/ (Markdown: https://insights.sbomify.com/CVE-2025-31499/index.md)","id":"CVE-2025-31499","markdown":"https://insights.sbomify.com/CVE-2025-31499/index.md","name":"CVE-2025-31499","record":{"aliases":["GHSA-2c3c-r7gp-q32m"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Jellyfin media server","requires_auth":"low_privilege","summary":"Attackers can inject FFmpeg arguments via media stream endpoints to write arbitrary files and achieve remote code execution.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jellyfin","vendor":"jellyfin"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"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/\u003citemId\u003e/stream and /Videos/\u003citemId\u003e/stream.\u003ccontainer\u003e, 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Jellyfin Vulnerable to Argument Injection in FFmpeg","id":"CVE-2025-31499","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site scripting in RT","id":"CVE-2025-31500"},"packages":[],"prev":{"headline":"c-ares has a use-after-free in read_answers()","id":"CVE-2025-31498"},"products":["jellyfin"],"published":"2025-04-15","related":[{"cvss_score":10,"headline":"Jellyfin: Potential RCE via subtitle upload path traversal + .strm chain","id":"CVE-2026-35031","kev_date_added":null,"published":"2026-04-14"},{"cvss_score":10,"headline":"Jellyfin Possible Organization/Secret Compromise from dangerous CI implementation","id":"CVE-2026-31852","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":9.3,"headline":"Jellyfin: Potential SSRF + Arbitrary file read via stream argument injection","id":"CVE-2026-35033","kev_date_added":null,"published":"2026-04-14"},{"cvss_score":9.1,"headline":"jellyfin-web has a stored cross-site scripting vulnerability in devices.js","id":"CVE-2023-30627","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":8.8,"headline":"Jellyfin vulnerable to directory traversal and file write causing arbitrary code execution","id":"CVE-2023-30626","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":8.8,"headline":"Incorrect Access Control and Cross Site Scripting in Jellyfin","id":"CVE-2022-35909","kev_date_added":null,"published":"2022-08-19"},{"cvss_score":8.6,"headline":"Jellyfin: Potential SSRF + Arbitrary file read via LiveTV M3U tuner","id":"CVE-2026-35032","kev_date_added":null,"published":"2026-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-16","vendors":["jellyfin"]},"summary":"Attackers can inject FFmpeg arguments via media stream endpoints to write arbitrary files and achieve remote code execution.","url":"https://insights.sbomify.com/CVE-2025-31499/"}