CVE-2025-4211
published high CVSS 4.0 · 7.3Improper Link Resolution Before File Access in QFileSystemEngine on Windows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Qt | — | Qt0 through 5.15.18 · 6.0.0 through 6.5.8 · 6.6.0 through 6.8.1 · Other versions: unaffected · Platforms: Windows | Affected | Not stated | TQtC |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- TQtC · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:P
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Qt | Qt | 0 through 5.15.18 (affected · python)6.0.0 through 6.5.8 (affected · python)6.6.0 through 6.8.1 (affected · python)Default: unaffected | TQtC · cna |
Weaknesses
1- CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
1Provider assertions
2TQtC · cna
Improper Link Resolution Before File Access in QFileSystemEngine on Windows
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 27db94c82eb1d4c3ed6c8a8b9544cb152512b6558eb7e8d047079ac27157684e
- Ingested
- 23 Sep 2026, 08:51:38 UTC
- Source record
- Official CVE record