CVE-2025-4211
qt: Improper Link Resolution Before File Access in QFileSystemEngine on Windows
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 16, 2025
Updated · June 30, 2026
Description
A flaw was found in the QFileSystemEngine in the Qt corelib module on Windows. The vulnerability arises when using the GetTempPath API, which allows 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.
Statement
This vulnerability is specific to Qt on Windows systems. Red Hat is not affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CWE-59 · Improper Link Resolution Before File Access ('Link Following')