OS Command Injection The advisory has been revoked - it doesn't affect any version of package python-pillow-tk  (opens in a new tab)


Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-PYTHONPILLOWTK-17894348
  • published8 Jul 2026
  • disclosed6 Jul 2026

Introduced: 6 Jul 2026

CVE-2026-55798  (opens in a new tab)
CWE-78  (opens in a new tab)

Amendment

The Centos security team deemed this advisory irrelevant for Centos:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-pillow-tk package and not the python-pillow-tk package as distributed by Centos.

Pillow is a Python imaging library. Prior to 12.3.0, WindowsViewer.get_command() constructed a cmd.exe shell command by directly embedding a file path into an f-string without escaping and passed the result to subprocess.Popen(..., shell=True), allowing shell metacharacters in the file path to inject arbitrary cmd.exe commands. This issue is fixed in version 12.3.0.