Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Werkzeug versions before 3.1.4 have a flaw in safe_join, which allows path segments containing Windows special device names such as CON or AUX. When an application running on Windows uses send_from_directory and a requested path ends in such a device name, the file opens but reading hangs indefinitely. Upgrade werkzeug to version 3.1.4 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.3 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0055, the 46th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-hgf8-39gv-g3f2
- OSV: GHSA-hgf8-39gv-g3f2
- github.com/pallets/werkzeug/security/advisories/GHSA-hgf8-39gv-g3f2
- nvd.nist.gov/vuln/detail/CVE-2025-66221
- github.com/pallets/werkzeug/commit/4b833376a45c323a189cd11d2362bcffdb1c0c13
- github.com/pallets/werkzeug
- github.com/pallets/werkzeug/releases/tag/3.1.4