safe_join

  1. CVE-2026-21860 Windows device name flaw in Werkzeug safe_join fixed in 3.1.5

    A subtle but important security gap in Werkzeug’s path-joining logic has resurfaced: attackers can craft filenames that exploit Windows’ legacy device-name semantics and cause web servers using Werkzeug’s safe_join/send_from_directory helpers to hang. This vulnerability, tracked as...