os.path.expandvars() with user-controlled template · Quadratic Complexity
Affects MicrosoftSource GCVE Database
Not known to be exploited · CVSS 1.8 Low.
Data as of 28 Oct 2026, 08:58 UTC
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIcpythonpkg:pypi/cpythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
CVE-2025-6075 is a vulnerability involving quadratic complexity in the os.path.expandvars() function when processing user-controlled templates. This can lead to performance degradation or denial of service due to excessive resource consumption. The issue affects Microsoft products in versions 2.0 and 3.0. No CVSS score or public exploit information is available, and no patch or remediation guidance has been provided yet.