CVE-2026-108693 ImageMagick through 7.1.2-33 and 6.9.13-58 Uncontrolled Search Path via Ghostscript Delegate
Attackers can execute arbitrary code by placing a malicious Ghostscript executable in the working directory when ImageMagick processes specific file types on Windows.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-108693?
CVE-2026-108693 is a high-severity path traversal vulnerability in ImageMagick, published on 11 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
ImageMagick on Windows through 7.1.2-33 and 6.9.13-58 contains an uncontrolled search path vulnerability in NTGhostscriptEXE() that launches gswin64c.exe by bare name when Ghostscript is unregistered. Attackers can plant a malicious gswin64c.exe in the working directory to execute code with ImageMagick privileges when PDF, PostScript, or EPS files are converted.
Weakness: CWE-427
Which versions are affected by CVE-2026-108693?
How do I fix CVE-2026-108693?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-108693 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-108693 exists.
Sources
Also known as GHSA-92c8-5jfq-j2vj, MINI-rh8c-72p2-h33w.