JLSEC-2026-1481: Path Traversal
An issue was discovered in Artifex Ghostscript before 10.03.1. There is path traversal (via a crafted PostScript document) to arbitrary files if the current directory is in the permitted paths. For example, there can be a transformation of ../../foo to ./../../foo and this will grant access if ./ is permitted.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Ghostscript_jllto a version that resolves this vulnerability.Fixed in 10.8.0+0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments using Artifex Ghostscript before 10.03.1 are exposed if their permitted paths include the current directory. The affected Julia package is julia/ghostscript_jll.
What does an attacker need to exploit it?
An attacker needs to supply a crafted PostScript document for Ghostscript to process. No privileges or user interaction are required according to the provided vector.
When does the path traversal succeed?
Traversal can succeed when the current directory is included in Ghostscript's permitted paths. A path such as ../../foo may be transformed to ./../../foo, allowing access because ./ is permitted.
What version resolves the issue?
The issue affects Ghostscript versions before 10.03.1, so upgrading to 10.03.1 or later addresses the affected version range.