cve.bz

CVE-2025-4211 qt qt: Link Following

7.3 highEPSS 0.2%

High (7.3) in qt qt. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 4.0

7.3 high
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-05-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2025-4211 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4211?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4211?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-4211 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Qtthrough 5.15.18
Qtfrom 6.0.0 through 6.5.8
Qtfrom 6.6.0 through 6.8.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 20.04:LTSqtbase-opensource-src-glesno fix listedUBUNTU-CVE-2025-4211
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 1 moreqt6-base, qtbase-opensource-src, qtbase-opensource-src-glesno fix listedUBUNTU-CVE-2025-4211
Ubuntu26.04:LTSqtbase-opensource-src, qtbase-opensource-src-glesno fix listedUBUNTU-CVE-2025-4211
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSqtbase-opensource-srcno fix listedUBUNTU-CVE-2025-4211

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is specific to Qt on Windows systems. Red Hat is not affected.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10qt6Not affected
Red Hat Enterprise Linux 6qtNot affected
Red Hat Enterprise Linux 6qt3Not affected
Red Hat Enterprise Linux 7qtNot affected
Red Hat Enterprise Linux 7qt3Not affected
Red Hat Enterprise Linux 8qt5Not affected
Red Hat Enterprise Linux 9qt5Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-4211.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON