CVE-2026-55798
Last modified
CVE-2026-55798 is a medium-severity vulnerability rated 4.5/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 12.3.0 |
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-4x4j-2g7c-83w6Exploit, Vendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-4x4j-2g7c-83w6Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-55798?
How severe is CVE-2026-55798?
How do I fix CVE-2026-55798?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5579A vulnerability was determined in CodeAstro Online Classroom…6.3
- CVE-2026-55790Craft CMS is a content management system (CMS). In versions …7.4
- CVE-2026-55791Craft CMS is a content management system (CMS). Versions 4.0…6.9
- CVE-2026-55792Craft CMS is a content management system (CMS). In versions …6
- CVE-2026-55793Craft CMS is a content management system (CMS). In versions …5.9
- CVE-2026-55794Craft CMS is a content management system (CMS). In versions …8.7
- CVE-2026-55799Remote Code Execution Vulnerability in GraalScriptEngineCrea…9.8
- CVE-2026-5580A vulnerability was identified in CodeAstro Online Classroom…6.3
- CVE-2026-55803Improperly Controlled Modification of Dynamically-Determined…5.9
- CVE-2026-55804Improperly Controlled Modification of Dynamically-Determined…5.9
- CVE-2026-55806URL Redirection to Untrusted Site ('Open Redirect') vulnerab…5.9
- CVE-2026-55807Server-Side Request Forgery (SSRF) vulnerability in Drupal D…3.1
Are you affected by CVE-2026-55798?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
