4.5

CVE-2026-55798: python-pillow pillow OS Command Injection

CVSS: 4.5v3.1MediumAnalyzed
AliasesGHSA-4x4j-2g7c-83w6BIT-pillow-2026-55798PYSEC-2026-2257
Published 06-07-2026Last modified 07-07-2026

Vulnerability summary

CVE-2026-55798 is a medium (CVSS 4.5) OS Command Injection vulnerability in python-pillow pillow. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 6.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
4.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 06-07-2026
    PublishedVulnerability first disclosed.
  2. 07-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

0.00 pp

From 0.18% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Pillow

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard15 products
  • label-studio< 1.23.0-r11
  • lmcache-cuda-12.8< 0.5.3-r0
  • mlflow< 3.14.0-r2 | < 3.16.0-r0
  • open-webui< 0.10.2-r1 | < 0.11.0-r0 | All versions (No fix recorded)
  • openstack-horizon-2025.2< 25.5.2_git20260617-r4
Wolfi5 products
  • mlflow< 3.14.0-r2 | < 3.16.0-r0
  • open-webui< 0.10.2-r1 | < 0.11.0-r0 | All versions (No fix recorded)
  • superset-6.0< 6.0.0-r13
  • superset-6.1< 6.1.0-r6
  • superset-6.1-iamguarded-compatAll versions (No fix recorded)
Ubuntu2 products
  • pillowAll versions (No fix recorded)
  • pillow-python2All versions (No fix recorded)
PyPI1 product
  • pillow< 12.3.0
Python1 product
Python-pillow1 product

6 vendors · 25 products

References

11 links
Show all 11 references