Pillow CVE-2026-112900: A Filename Alone Can Trigger OS Command Execution via Ghostscript

banteg · x · 2026-10-24

A high-severity vulnerability, CVE-2026-112900, has been disclosed in Python's widely used Pillow image library: a filename alone is enough to trigger OS command execution. The flaw stems from how Pillow passes EPS filenames to Ghostscript, letting attackers run arbitrary commands on systems that process untrusted images. Services handling user-uploaded images should patch immediately.

Related event: Pillow Hit by Critical Flaw Allowing Command Execution via Filename(2 posts)→

Original post →

More from Safety

Safety channel →