CVE-2025-4211 Details
Description
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
A vulnerability in the QFileSystemEngine component of the Qt corelib module on Windows has been identified, allowing for symlink attacks and the use of malicious files. This issue stems from improper link resolution before file access, particularly in how temporary file paths are handled. The vulnerability affects all versions of Qt up to and including 5.15.18, as well as versions 6.0.0 through 6.5.8 and 6.6.0 through 6.8.1. It is caused by the use of the GetTempPath API, which can be exploited to manipulate temporary file paths, potentially leading to unauthorized access and privilege escalation.
Users can upgrade to Qt versions 5.15.19, 6.5.9, 6.8.2, or 6.9.0 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 16, 2025CISA-ADP
Assessed May 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://codereview.qt-project.org/c/qt/qtbase/+/632231 | TQtC | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | TQtC |
Affected Products
| Product | Versions |
|---|---|
| Qt | <= 5.15.18 (semver) >= 6.0.0, <= 6.5.8 (semver) >= 6.6.0, <= 6.8.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | CVE Modified | TQtC |
| Jun 17, 2026 | CVE Modified | TQtC |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 16, 2025 | New CVE Received | TQtC |
Volerion