Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
python-pillow Pillow — Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path
AV AC PR UI S C I A CVSS EPSS %ile KEV
L H N R U L L L 4.5 .0018 7.6 —
AFFECTED
Product Versions Fixed
Pillow < 12.3.0 – —
TIMELINE
Jun 17 Reserved by GitHub_M
Jul 6 EXPLOIT PUBLISHED — CVE-2026-55798 (python-pillow Pillow). Public exploit reference added.
Jul 6 Published (CNA: GitHub_M)
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| June 17, 2026 | Reserved | Reserved by GitHub_M |
| July 6, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-55798 (python-pillow Pillow). Public exploit reference added. |
| July 6, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| python-pillow | Pillow | — | < 12.3.0 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-55798 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.