# CVE-2026-110650: Thumbnail through 1.5 OS Command Injection via generate_thumbnail File Paths

Source: https://aplosec.si/cve/CVE-2026-110650/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-110650

Critical 9.3 · Reproduced · No fix listed · CWE-78 · PyPI

# Thumbnail through 1.5 OS Command Injection via generate_thumbnail File Paths

CVE-2026-110650 · published 2026-10-14

In plain words: this type of bug lets someone run their own commands on the server (command injection). No fixed release is listed yet.

## Summary

CVE-2026-110650 affects thumbnail (PyPI) <= 1.5: Command injection via generate_thumbnail File Paths (CWE-78). No fixed release is listed. CVSS 4.0 base score 9.3 (Critical), assigned by VulnCheck. Published 2026-10-14 by VulnCheck. Credit: Zachariah Mithani.

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.

## Evidence

The exploit was run against the published artifact from the registry, not the repository. It created a marker file; a benign input through the same sink in the same session did not.

## Remediation

No fixed release was published at disclosure. Don't pass untrusted file names or strings to the affected functions, or apply the patch from the fix pull request.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/thumbnail-through-1.5-os-command-injection-via-generate-thumbnail-file-paths](https://www.vulncheck.com/advisories/thumbnail-through-1.5-os-command-injection-via-generate-thumbnail-file-paths)

- [Fix pull requesthttps://github.com/anshulkharb/thumbnail/pull/9](https://github.com/anshulkharb/thumbnail/pull/9)

- [Vulnerable codehttps://github.com/anshulkharb/thumbnail/blob/23b2e30509c936872a3bafac65b4aa48777e794c/thumbnail/thumbnail.py#L100-L114](https://github.com/anshulkharb/thumbnail/blob/23b2e30509c936872a3bafac65b4aa48777e794c/thumbnail/thumbnail.py#L100-L114)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110650](https://www.cve.org/CVERecord?id=CVE-2026-110650)

**Severity:** Critical 9.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-110650)

**Package:** thumbnail

**Ecosystem:** PyPI

**Affected:** <= 1.5

**Fixed:** None

**Weakness:** CWE-78

**CNA:** VulnCheck

**Credit:** Zachariah Mithani finder
