Mako: Path traversal via drive-letter URI on Windows in TemplateLookup
On Windows, a TemplateLookup URI beginning with a drive designator (e.g. C:/../../secret.txt or C:....\secret.txt) bypasses the directory traversal check in Template.init, allowing reads of files outside the configured template directory. This is a third, independent instance of the root cause behind CVE-2026-41205 (the // prefix) and CVE-2026-44307 (the backslash form). Both of those fixes normalized a separator spelling. Neither addressed the other way posixpath and ntpath disagree: the drive designator. …