Skip to content
OpenAdvisories
High · 7.3 CVE-2025-4211 EUVD-2025-28000GHSA-8cgq-rf3m-gjm4

Improper Link Resolution Before File Access in QFileSystemEngine on Windows

Published May 16, 2025 · Updated Jul 29, 2026 · 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 products

VendorProductAffectedFixed
Qt Qt ≤ 5.15.18, 6.0.0 – ≤ 6.5.8, 6.6.0 – ≤ 6.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 qt6-base +2 No fix yet —
Ubuntu 26.04 LTS qtbase-opensource-src +1 No fix yet —
Ubuntu 25.10 qt6-base +2 No fix yet —
Ubuntu 24.04 LTS qt6-base +2 No fix yet —
Ubuntu 22.04 LTS qt6-base +2 No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS qtbase-opensource-src-gles No fix yet —
Ubuntu 16.04 LTS qtbase-opensource-src-gles No fix yet —
Ubuntu Pro 20.04 LTS qtbase-opensource-src No fix yet —
Ubuntu Pro 18.04 LTS qtbase-opensource-src No fix yet —
Ubuntu Pro 16.04 LTS qtbase-opensource-src No fix yet —

Advisories 1

References