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.
CVE-2026-55798
This medium-severity CVE scores 4.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 93% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.5
- EG Score
- 4.5(medium)
- EG Risk
- 36(Track)EG Risk 36/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity45% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 8%
- KEV
- Not listed
Published
July 6, 2026
Last Modified
July 7, 2026
Advisory Details (5)
Auto-updated Jul 7, 2026WindowsViewer.get_command() OS command injection via unescaped shell path (CWE-78) · Advisory · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/security/advisories/GHSA-4x4j-2g7c-83w6commit b0e06caa64c1 (python-pillow/Pillow)
Patch available: python-pillow/Pillow 12.3.0 (contains commit b0e06caa64c1)
https://github.com/python-pillow/Pillow/commit/b0e06caa64c1405aa3da0bb1d2bd9a77ca22de7fcommit 88194166691b (python-pillow/Pillow)
Patch available: python-pillow/Pillow 12.3.0 (contains commit 88194166691b)
https://github.com/python-pillow/Pillow/commit/88194166691b7b603529b8b036ab3ab9cedd2de4commit 8404ea5fe5df (python-pillow/Pillow)
Patch available: python-pillow/Pillow 12.3.0 (contains commit 8404ea5fe5df)
https://github.com/python-pillow/Pillow/commit/8404ea5fe5df40fc34aa1e51403dd6fce0778b8aPillow/docs/releasenotes/12.3.0.rst at main · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rstVendor Advisories for CVE-2026-55798(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 1.0 ... 9.5.0 (106 versions) | 12.3.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 36× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 23:11 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 08:14 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-28 04:31 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 02:16 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 14:52 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 13:18 UTCEG score recompute
- 2026-08-22 10:10 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 08:36 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 07:01 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
Show 69 moreShow fewer
- 2026-08-19 05:28 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 03:48 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 00:05 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 22:31 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 20:55 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 17:46 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 16:13 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 14:39 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 13:05 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 11:32 UTCEG score recompute
- 2026-08-07 09:56 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-06 08:22 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 06:49 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-04 04:18 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 02:43 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-07-30 21:57 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 17:21 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 15:46 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 12:47 UTCEG score recompute
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:20 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 19:07 UTCEG score recompute
- 2026-07-06 19:06 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-55798?
When was CVE-2026-55798 disclosed?
Is CVE-2026-55798 actively exploited?
What is the CVSS score of CVE-2026-55798?
How do I remediate CVE-2026-55798?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-55798
Is Your Infrastructure Affected by CVE-2026-55798?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.