JLSEC-2026-2392: Improper Link Resolution Before File Access ('Link Following') vulnerability in QFileSystemEngine...
Improper Link Resolution Before File Access ('Link Following') vulnerability in QFileSystemEngine in the Qt corelib module on Windows which potentially allows Symlink Attacks and the use of Malicious Files. Issue originates from CVE-2024-38081. The vulnerability arises from the use of the GetTempPath API, which can be exploited by attackers to manipulate temporary file paths, potentially leading to unauthorized access and privilege escalation. The affected public API in the Qt Framework is QDir::tempPath() and anything that uses it, such as QStandardPaths with TempLocation, QTemporaryDir, and QTemporaryFile.
This issue affects all version of Qt up to and including 5.15.18, from 6.0.0 through 6.5.8, from 6.6.0 through 6.8.1. It is fixed in Qt 5.15.19, Qt 6.5.9, Qt 6.8.2, 6.9.0
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Qtto a version that resolves this vulnerability.Fixed in 5.15.19 - Upgrade
Upgrade
Qtto a version that resolves this vulnerability.Fixed in 6.5.9 - Upgrade
Upgrade
Qtto a version that resolves this vulnerability.Fixed in 6.8.2 - Upgrade
Upgrade
Qtto a version that resolves this vulnerability.Fixed in 6.9.0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed?
The issue affects Qt applications on Windows that use QDir::tempPath() or functionality that relies on it, including QStandardPaths with TempLocation, QTemporaryDir, and QTemporaryFile. The listed Julia packages are julia/qt6base_jll, julia/qt5base_jll, and julia/qt_jll.
What would an attacker need to exploit this?
The supplied vector indicates local access, low privileges, and user interaction are required, with additional attack conditions present. Exploitation involves manipulating temporary-file paths through GetTempPath and using symlinks or malicious files to obtain unauthorized access or elevate privileges.
Which Qt versions require remediation?
Affected versions are Qt through 5.15.18, Qt 6.0.0 through 6.5.8, and Qt 6.6.0 through 6.8.1. Fixes are available in Qt 5.15.19, Qt 6.5.9, Qt 6.8.2, and Qt 6.9.0.
How can I determine whether an application is affected?
Check whether it runs on Windows, uses an affected Qt version, and invokes QDir::tempPath() directly or uses QStandardPaths TempLocation, QTemporaryDir, or QTemporaryFile. Applications not using these temporary-path APIs are not identified in the provided data as exposed.