---
id: CVE-2026-110650
title: >-
  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
summary: >-
  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 …
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T21:17:35.953'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110650'
references:
  - url: >-
      https://github.com/anshulkharb/thumbnail/blob/23b2e30509c936872a3bafac65b4aa48777e794c/thumbnail/thumbnail.py#L100-L114
    label: disclosure@vulncheck.com
  - url: 'https://github.com/anshulkharb/thumbnail/pull/9'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/thumbnail-through-1.5-os-command-injection-via-generate-thumbnail-file-paths
    label: disclosure@vulncheck.com
  - url: 'https://github.com/anshulkharb/thumbnail/pull/9'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.018Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
