---
title: "CVE-2026-108693: ImageMagick - Command Injection"
description: "ImageMagick on Windows <= 7.1.2-33 and <= 6.9.13-58 contains a command injection caused by uncontrolled search path in NTGhostscriptEXE() launching gswin64c.exe by bare name when Ghostscript is unregistered, letting attackers execute code with ImageMagick privileges, exploit requires attacker to place malicious executable in working directory."
url: https://panop.io/threat-heartbeat/CVE-2026-108693/
---

# CVE-2026-108693 ImageMagick - Command Injection

ImageMagick on Windows <= 7.1.2-33 and <= 6.9.13-58 contains a command injection caused by uncontrolled search path in NTGhostscriptEXE() launching gswin64c.exe by bare name when Ghostscript is unregistered, letting attackers execute code with ImageMagick privileges, exploit requires attacker to place malicious executable in working directory.

CVSS base score 7.0 /10

High

CISA KEV

Not listed

Public exploit

None known

EPSS

0.13% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-108693)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

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

Published

11 October 2026

Updated

15 October 2026

Weakness

[CWE-427](https://cwe.mitre.org/data/definitions/427.html)

## Vendor fix

Update to a version later than 7.1.2-33 or 6.9.13-58.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-108693](https://nvd.nist.gov/vuln/detail/CVE-2026-108693)
- [https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L2829-L2832](https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L2829-L2832)
- [https://github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hijack-poc](https://github.com/ghostx-86/exploitarium/tree/main/imagemagick-gs-delegate-hijack-poc)
- [https://www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6.9.13-58-uncontrolled-search-path-via-ghostscript-delegate](https://www.vulncheck.com/advisories/imagemagick-through-7.1.2-33-and-6.9.13-58-uncontrolled-search-path-via-ghostscript-delegate)
- [https://github.com/ImageMagick/ImageMagick](https://github.com/ImageMagick/ImageMagick)
- [https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L1469-L1511](https://github.com/ImageMagick/ImageMagick/blob/211e5b975a0019a88dcef5f84c1193f46738d815/MagickCore/nt-base.c#L1469-L1511)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
