GHSA-29vq-49wr-vm6x · Severity: medium · Ecosystem: pip — Werkzeug safe_join() allows Windows special device names
Werkzeug is a comprehensive WSGI web application library. Versions 3.1.5 and below, the safe_join function allows Windows device names as filenames if preceded by other path segments. This was previously reported as GHSA-hgf8-39gv-g3f2, but the added filtering failed to account for the fact that safe_join accepts paths with multiple segments, such as example/NUL. The function send_from_directory uses safe_join to safely serve files at user-specified paths under a directory. If the application is running on Windows, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely. This issue has been fixed in version 3.1.6.
Conclusion & alert: CVE-2026-27199 is rated Moderate Risk (40.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.56%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.56% | +0.54% |
| 2 | 2026-03-21 | 0.06% | 0.02% | -0.04% |
| 3 | 2026-02-21 | — | 0.06% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-29vq-49wr-vm6x · Severity: medium · Ecosystem: pip — Werkzeug safe_join() allows Windows special device names
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-27199: 1 source package rows (py3-werkzeug); 1 state rows across 1 repos (edge-main); fixed 1, open 0. | https://security.alpinelinux.org/vuln/CVE-2026-27199 |
debian
|
unimportant | CVE-2026-27199 unimportant priority: Debian including 1 source packages (python-werkzeug), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-27199 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-27199/ |
ubuntu
|
medium | CVE-2026-27199 medium priority: Ubuntu including 1 source packages (python-werkzeug), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): not-affected 7. | https://ubuntu.com/security/CVE-2026-27199 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| palletsprojects | werkzeug | < 3.1.6 | cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:* |