THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-5639-2j2p-m4mx (medium) — Mako: Path traversal via drive-letter URI on Windows in TemplateLookup

[GHSA] GHSA-5639-2j2p-m4mx (medium) — Mako: Path traversal via drive-letter URI on Windows in TemplateLookup

medgithub_advisoriesPublished 2026-10-05

GHSA-5639-2j2p-m4mx Severity: medium CVE: CVE-2026-102991

Mako: Path traversal via drive-letter URI on Windows in TemplateLookup

## Summary

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.

Thi

Indicators of compromise

Original source: https://github.com/advisories/GHSA-5639-2j2p-m4mx