Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-55798

python-pillow: Pillow: Arbitrary command injection via shell metacharacters in file paths

Overview

Published
6 Jul 2026
Modified
25 Oct 2026
Medium CVE
4 Registry packages
20 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

4.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Weakness: CWE-78

Affected packages · 4

Packages affected by CVE-2026-55798
EcosystemPackageVulnerableFixed in
Bitnami pillow <12.3.0 12.3.0
PyPI pillow <12.3.0 12.3.0
Seal PyPI pillow >=10.0.1+sp0, <10.0.1+sp999>=7.2.0+sp0, <7.2.0+sp999>=9.3.0+sp0, <9.3.0+sp999>=9.5.0+sp0, <9.5.0+sp999 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999
Seal PyPI seal-pillow >=10.0.1+sp1, <10.0.1+sp999>=7.2.0+sp1, <7.2.0+sp999>=9.3.0+sp1, <9.3.0+sp999>=9.5.0+sp1, <9.5.0+sp999 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999

Open a package to see all its vulnerabilities.

Operating systems · 23 fixes

alpine 1 release · 1 package

fixed 1
py3-pillow
alpine fixes for CVE-2026-55798
ReleasePackageFixed in
edge py3-pillow 12.3.0-r0

chainguard 1 release · 13 packages

fixed 13
open-webui lmcache-cuda-12-8 label-studio tensorflow-gpu-jupyter tritonserver-backend-vllm-cuda-13-0 openstack-horizon-2025-2 +7
chainguard fixes for CVE-2026-55798
ReleasePackageFixed in
open-webui 0.11.0-r0
lmcache-cuda-12-8 0.5.3-r0
label-studio 1.23.0-r11
tensorflow-gpu-jupyter 2.21.0-r7
tritonserver-backend-vllm-cuda-13-0 25.11-r11
openstack-horizon-2025-2 25.5.2_git20260617-r4

7 more rows

minimos 1 release · 6 packages

fixed 6
vllm-cu129 label-studio acapy-agent-1-3 acapy-agent-1-6 litellm-1-83 mlflow
minimos fixes for CVE-2026-55798
ReleasePackageFixed in
vllm-cu129 +1 0.25.0-r0
label-studio 1.23.1-r0
acapy-agent-1-3 1.3.4-r1
acapy-agent-1-6 1.6.1-r0
litellm-1-83 1.83.10-r0
mlflow 3.14.0-r1

wolfi 1 release · 3 packages

fixed 3
open-webui superset-6-0 superset-6-1
wolfi fixes for CVE-2026-55798
ReleasePackageFixed in
open-webui 0.11.0-r0
superset-6-0 6.0.0-r13
superset-6-1 6.1.0-r6

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.