
Find real vulnerabilities before they ship
Mako is a template library written in Python. Prior to 1.3.12, on Windows, a URI using backslash traversal (e.g. \..\..\ secret.txt) bypasses the directory traversal check in Template.__init__ and the posixpath-based normalization in TemplateLookup.get_template(), allowing reads of files outside the configured template directory. This vulnerability is fixed in 1.3.12.
Base Score
8.7| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| Mako(PyPI) | 0 | 1.3.12 | N/A |
| Base Score | 8.7 |
|---|---|
| Vector String | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Base Severity | High |
| Version | 4.0 |
| Attack Vector (AV) | NETWORK |