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.
Published: 2026-10-14
Score: 9.3 Critical
EPSS: 3.0% Low
KEV: No
Impact: OS Command Injection leading to remote command execution
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Mon, 19 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Anshulkharb
Anshulkharb thumbnail
Vendors & Products Anshulkharb
Anshulkharb thumbnail

Wed, 14 Oct 2026 14:30:00 +0000

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'}


Subscriptions

Anshulkharb Thumbnail
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T20:38:22.406Z

Reserved: 2026-10-14T13:07:36.666Z

Link: CVE-2026-110650

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:18.793

Modified: 2026-10-15T14:47:05.720

Link: CVE-2026-110650

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T13:08:01Z

Weaknesses
  • CWE-78

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