CVEfocus › CVE database › CVE-2025-4211

CVE-2025-4211Improper Link Resolution Before File Access in QFileSystemEngine on Windows

CVSS 7.3 HighEPSS 0.3% (higher than 14% of CVEs)Published 2025-05-16Updated 2026-07-29Assigner: TQtC

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

CWE-59

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fix pending
2Under investigation
8Will not fix
54Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10qt6-baseFix pendingUBUNTU-CVE-2025-4211
Ubuntu 26.10qtbase-opensource-srcFix pendingUBUNTU-CVE-2025-4211
Ubuntu 26.10qtbase-opensource-src-glesFix pendingUBUNTU-CVE-2025-4211
Ubuntu 26.04qt6-baseNot affected
vulnerable_code_not_present
Ubuntu 26.04qtbase-opensource-srcWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 26.04qtbase-opensource-src-glesWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 25.10qt6-baseWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 25.10qtbase-opensource-srcWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 25.10qtbase-opensource-src-glesWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 24.04qt6-baseUnder investigationUBUNTU-CVE-2025-4211
Ubuntu 24.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2025-4211
Ubuntu 24.04qtbase-opensource-src-glesWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 22.04qt6-baseUnder investigationUBUNTU-CVE-2025-4211
Ubuntu 22.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2025-4211
Ubuntu 22.04qtbase-opensource-src-glesWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 20.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2025-4211
Ubuntu 20.04qtbase-opensource-src-glesWill not fix
Windows only: the fix touches src/corelib/io/qfilesystemengine_win.cpp, which src/corelib/io/io.pri builds only under win32; same as qtbase-opensource-src.
UBUNTU-CVE-2025-4211
Ubuntu 18.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2025-4211
Ubuntu 16.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2025-4211
Ubuntu 16.04qtbase-opensource-src-glesFix pendingUBUNTU-CVE-2025-4211
Red Hat Enterprise Linux 10qt6-filesystemNot affected
Red Hat Enterprise Linux 10qt6-rpm-macrosNot affected
Red Hat Enterprise Linux 10qt6-srpm-macrosNot affected
Red Hat Enterprise Linux 9qt5Not affected
Red Hat Enterprise Linux 9qt5-develNot affected
Red Hat Enterprise Linux 9qt5-rpm-macrosNot affected
Red Hat Enterprise Linux 9qt5-srpm-macrosNot affected
Red Hat Enterprise Linux 8qt5Not affected
Red Hat Enterprise Linux 8qt5-develNot affected
Red Hat Enterprise Linux 8qt5-rpm-macrosNot affected
Red Hat Enterprise Linux 8qt5-srpm-macrosNot affected
Red Hat Enterprise Linux 7qtNot affected
Red Hat Enterprise Linux 7qt-assistantNot affected
Red Hat Enterprise Linux 7qt-configNot affected
Red Hat Enterprise Linux 7qt-demosNot affected
Red Hat Enterprise Linux 7qt-develNot affected
Red Hat Enterprise Linux 7qt-devel-privateNot affected
Red Hat Enterprise Linux 7qt-docNot affected
Red Hat Enterprise Linux 7qt-examplesNot affected
Red Hat Enterprise Linux 7qt-mysqlNot affected
Red Hat Enterprise Linux 7qt-odbcNot affected
Red Hat Enterprise Linux 7qt-postgresqlNot affected
Red Hat Enterprise Linux 7qt-qdbusviewerNot affected
Red Hat Enterprise Linux 7qt-qvfbNot affected
Red Hat Enterprise Linux 7qt-x11Not affected
Red Hat Enterprise Linux 7qt3Not affected
Red Hat Enterprise Linux 7qt3-MySQLNot affected
Red Hat Enterprise Linux 7qt3-ODBCNot affected
Red Hat Enterprise Linux 7qt3-PostgreSQLNot affected
Red Hat Enterprise Linux 7qt3-configNot affected
Red Hat Enterprise Linux 7qt3-designerNot affected
Red Hat Enterprise Linux 7qt3-develNot affected
Red Hat Enterprise Linux 7qt3-devel-docsNot affected
Red Hat Enterprise Linux 6phonon-backend-gstreamerNot affected
Red Hat Enterprise Linux 6qtNot affected
Red Hat Enterprise Linux 6qt-demosNot affected
Red Hat Enterprise Linux 6qt-develNot affected
Red Hat Enterprise Linux 6qt-docNot affected
Red Hat Enterprise Linux 6qt-examplesNot affected
Red Hat Enterprise Linux 6qt-mysqlNot affected
Red Hat Enterprise Linux 6qt-odbcNot affected
Red Hat Enterprise Linux 6qt-postgresqlNot affected
Red Hat Enterprise Linux 6qt-sqliteNot affected
Red Hat Enterprise Linux 6qt-x11Not affected
Red Hat Enterprise Linux 6qt3Not affected
Red Hat Enterprise Linux 6qt3-MySQLNot affected
Red Hat Enterprise Linux 6qt3-ODBCNot affected
Red Hat Enterprise Linux 6qt3-PostgreSQLNot affected
Red Hat Enterprise Linux 6qt3-configNot affected
Red Hat Enterprise Linux 6qt3-designerNot affected
Red Hat Enterprise Linux 6qt3-develNot affected
Red Hat Enterprise Linux 6qt3-devel-docsNot affected
Red Hat Enterprise Linux 6qt3-sqliteNot affected

What the vendor says

As published in the CVE record by TQtC, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.