CVE-2026-19547: CWE-426 Untrusted Search Path in Artifex Software Inc. Ghostscript
Ghostscript for Windows is vulnerable to local privilege escalation through PostScript resource file hijacking. Due to the application searching for PostScript resource files in predictable paths under C:\\gs\\ that do not exist by default on Windows installations, combined with Windows default ACLs allowing any authenticated user to create directories at the root of C:\\, an attacker who is an authenticated local user can create the expected directory structure and plant a malicious PostScript file. When any user or service subsequently runs Ghostscript, the planted file is automatically loaded and executed with the full privileges of the Ghostscript process. This results in full compromise of Ghostscript process context, as well as running arbitrary code on the machine with Ghostscript process privileges. This issue was fixed in version 10.08.0.
AI Analysis
Technical Summary
CVE-2026-19547 is a local privilege escalation vulnerability in Artifex Software Inc.'s Ghostscript for Windows. The vulnerability arises because Ghostscript searches for PostScript resource files in predictable directories under C:\gs\, which do not exist by default. Windows default ACLs permit any authenticated user to create directories at the root of C:\, enabling an attacker to create the expected directory structure and place a malicious PostScript file. When Ghostscript runs, it automatically loads and executes this file with the full privileges of the Ghostscript process, leading to arbitrary code execution. This vulnerability is classified under CWE-426 (Untrusted Search Path) and has a CVSS 4.0 score of 7.0 (high severity). The vulnerability was fixed in Ghostscript version 10.08.0.
Potential Impact
An authenticated local attacker can escalate privileges by planting malicious PostScript files in predictable directories that Ghostscript searches. This results in arbitrary code execution with the privileges of the Ghostscript process, potentially leading to full compromise of the affected system context where Ghostscript runs.
Mitigation Recommendations
Upgrade Ghostscript to version 10.08.0 or later, where this vulnerability is fixed. Until then, restrict authenticated user permissions to prevent creation of directories at the root of C:\ or monitor for unauthorized directory creation under C:\gs\. No other vendor advisory mitigation is provided.
CVE-2026-19547: CWE-426 Untrusted Search Path in Artifex Software Inc. Ghostscript
Description
Ghostscript for Windows is vulnerable to local privilege escalation through PostScript resource file hijacking. Due to the application searching for PostScript resource files in predictable paths under C:\\gs\\ that do not exist by default on Windows installations, combined with Windows default ACLs allowing any authenticated user to create directories at the root of C:\\, an attacker who is an authenticated local user can create the expected directory structure and plant a malicious PostScript file. When any user or service subsequently runs Ghostscript, the planted file is automatically loaded and executed with the full privileges of the Ghostscript process. This results in full compromise of Ghostscript process context, as well as running arbitrary code on the machine with Ghostscript process privileges. This issue was fixed in version 10.08.0.
CVSS v4.0
Score 7.0high
Affected software
Artifex Software Inc.
Ghostscript
pkg:github/artifex-software/ghostscriptRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-19547 is a local privilege escalation vulnerability in Artifex Software Inc.'s Ghostscript for Windows. The vulnerability arises because Ghostscript searches for PostScript resource files in predictable directories under C:\gs\, which do not exist by default. Windows default ACLs permit any authenticated user to create directories at the root of C:\, enabling an attacker to create the expected directory structure and place a malicious PostScript file. When Ghostscript runs, it automatically loads and executes this file with the full privileges of the Ghostscript process, leading to arbitrary code execution. This vulnerability is classified under CWE-426 (Untrusted Search Path) and has a CVSS 4.0 score of 7.0 (high severity). The vulnerability was fixed in Ghostscript version 10.08.0.
Potential Impact
An authenticated local attacker can escalate privileges by planting malicious PostScript files in predictable directories that Ghostscript searches. This results in arbitrary code execution with the privileges of the Ghostscript process, potentially leading to full compromise of the affected system context where Ghostscript runs.
Mitigation Recommendations
Upgrade Ghostscript to version 10.08.0 or later, where this vulnerability is fixed. Until then, restrict authenticated user permissions to prevent creation of directories at the root of C:\ or monitor for unauthorized directory creation under C:\gs\. No other vendor advisory mitigation is provided.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CERT-PL
- Date Reserved
- 2026-08-11T14:12:06.293Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6abb9075f7a7c54106366dd7
Added to database: 09/29/2026, 10:18:29 UTC
Last enriched: 09/29/2026, 10:32:47 UTC
Last updated: 09/29/2026, 18:20:13 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.