CVE-2025-4211
JSON

7.3high

Improper Link Resolution Before File Access in QFileSystemEngine on Windows

Severity
7.3high CVSS:4.0 by TQtC
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
TQtC

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

Affected

Product or packageVersionsReported by
Qt Qtup to 5.15.18, from 6.0.0 up to 6.5.8, from 6.6.0 up to 6.8.1CVE List

Classification

CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

Vulnerabilidad de resolución incorrecta de enlaces antes del acceso a archivos ('Seguimiento de enlaces') en QFileSystemEngine, en el módulo Qt corelib de Windows, que potencialmente permite ataques de enlaces simbólicos y el uso de archivos maliciosos. El problema se origina en CVE-2024-38081. La vulnerabilidad surge del uso de la API GetTempPath, que puede ser explotada por atacantes para manipular rutas de archivos temporales, lo que podría provocar acceso no autorizado y escalada de privilegios. La API pública afectada en Qt Framework es QDir::tempPath() y cualquier componente que la utilice, como QStandardPaths con TempLocation, QTemporaryDir y QTemporaryFile. Este problema afecta a todas las versiones de Qt hasta la 5.15.18 (inclusive), de la 6.0.0 a la 6.5.8 y de la 6.6.0 a la 6.8.1. Se solucionó en Qt 5.15.19, Qt 6.5.9, Qt 6.8.2, 6.9.0

References

Sources

SourceRecordLicence
CVE ListCVE-2025-4211 changed 2026-07-29CVE Terms of Use
NVDCVE-2025-4211 changed 2026-07-29Public domain