CVE-2025-4211

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
CVSS

No CVSS.

Configurations

No configuration.

History

15 Apr 2026, 00:35

Type Values Removed Values Added
Summary
  • (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

16 May 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-16 14:15

Updated : 2026-04-15 00:35


NVD link : CVE-2025-4211

Mitre link : CVE-2025-4211

CVE.ORG link : CVE-2025-4211


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')