ADVISORIES

Vulnerability

CVE-2026-21860

Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing spaces. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. Windows still accepts them with any file extension, such as CON.txt, or trailing spaces such as CON. This issue has been patched in version 3.1.5.

25 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • ALPINE-CVE-2026-21860

    Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing spaces. On Windows,…

    CVE-2026-21860 Alpine Updated 1 October 2026
  • ALPINE-EDGE-CVE-2026-21860
    CVE-2026-21860 Alpine Updated 18 November 2026
  • CGA-45f6-4jhr-h746
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-6fjf-v497-7966
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-73fq-gcpm-pv55
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-822f-3r72-j38m
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-946v-q74r-5675
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-96gc-5jm5-45j3
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-9m22-54wm-454c
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-cp36-97f2-59v8
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-cvfm-9mm2-7pmc
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-hmjq-gxhc-xpq3
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-j246-wfp8-gcjr
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-j96j-cp33-m8m5
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-jx33-69wm-26cr
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-pprq-84r9-2w8q
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-ppx2-4qj4-mgfq
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-q6r5-46mh-3fwr
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • CGA-q98g-r26c-cm7h
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-rcgh-334v-fj6f
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-vj4f-9fr6-jjwx
    CVE-2026-21860 Chainguard Updated 5 November 2026
  • CGA-wf4j-vrhw-fhw2
    CVE-2026-21860 ChainguardWolfi Updated 5 November 2026
  • GHSA-87hc-h4r5-73f7

    Werkzeug safe_join() allows Windows special device names with compound extensions

    Moderate CVE-2026-21860 PyPI Updated 10 September 2026
  • PYSEC-2026-2044

    Werkzeug safe_join() allows Windows special device names with compound extensions

    CVE-2026-21860 PyPI Updated 7 July 2026
  • UBUNTU-CVE-2026-21860

    Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing spaces. On Windows,…

    CVE-2026-21860 Ubuntu Updated 14 January 2026

References