CVE-2026-110650

Thumbnail through 1.5 OS Command Injection via generate_thumbnail File Paths

Published Oct 14, 2026 CVSS 4.0 · 9.3 Critical EPSS 3.0% KEV · Not listed
Description
The thumbnail Python package through 1.5 contains an OS command injection vulnerability in generate_thumbnail() that allows attackers to execute commands by supplying shell metacharacters in file paths. Attackers who control a file name passed to generate_thumbnail, such as an uploaded file, can inject commands into os.system() calls running ffmpeg, convert or unoconv with the Python process privileges.

Analysis

AI-generated

Technical impact

The thumbnail Python package contains an OS command injection flaw in generate_thumbnail(). By supplying shell metacharacters in a file path, an attacker can inject commands into the os.system() calls that invoke ffmpeg, convert, or unoconv. This allows execution of arbitrary commands with the privileges of the Python process, resulting in full remote code execution on the host.

Affected Systems

The vulnerability exists in the anshulkharb:thumbnail package versions up to 1.5. Any installation of thumbnail 1.5 or earlier that allows unauthenticated users to provide file names to generate_thumbnail() is affected.

Risk and Exploitability

The CVSS score of 9.3 indicates critical severity, and the EPSS score of 3% suggests a non-negligible likelihood of exploitation. The vulnerability is not listed in CISA KEV. The likely attack vector involves an attacker supplying a crafted file name or file path when invoking generate_thumbnail(), such as during a file upload or other user‑controlled input. Exploitation requires the attacker to be able to trigger generate_thumbnail() and thus have some level of interaction with the application. Given the high severity and lack of mitigations in older versions, the risk remains high.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade thumbnail to a version newer than 1.5 that removes the use of os.system() in generate_thumbnail().
  • If an upgrade is not immediately possible, validate and sanitize all file names and paths passed to generate_thumbnail() to strip shell metacharacters before they reach the underlying system call.
  • Run the thumbnail process with the minimum required privileges or in a restricted container to limit the impact of any potential command execution.

Generated by OpenCVE AI on October 15, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Anshulkharb
Anshulkharb thumbnail
Vendors & Products Anshulkharb
Anshulkharb thumbnail
Type Values Removed Values Added
Description The thumbnail Python package through 1.5 contains an OS command injection vulnerability in generate_thumbnail() that allows attackers to execute commands by supplying shell metacharacters in file paths. Attackers who control a file name passed to generate_thumbnail, such as an uploaded file, can inject commands into os.system() calls running ffmpeg, convert or unoconv with the Python process privileges.
Title Thumbnail through 1.5 OS Command Injection via generate_thumbnail File Paths
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 14, 2026, 8:38 PM
Reserved
Oct 14, 2026, 1:07 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 15, 2026, 2:47 PM