Skip to main content
CVE-2025-6075VulnerabilityPublished Updated

os.path.expandvars() with user-controlled template · Quadratic Complexity

Affects MicrosoftSource GCVE Database

0
Authoritative record:CVE-2025-6075· Low 1.8

Not known to be exploited · CVSS 1.8 Low.

Data as of 28 Oct 2026, 08:58 UTC

CVSS 4.0 base score
1.8Low
How severe the flaw is on the 0–10 CVSS scale.
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIcpythonpkg:pypi/cpythonOther threatsAffected
  • 3.10.0 – 3.15.0
6 affected builds
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.

References

Community reviews

Loading reviews…