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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44307.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.3.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "72e10c573ca0fbcbddd4455abca8ce92a61780d7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "rel_1_3_12",
"range": [
{
"fixed": "d4d1639222d2da4f18c32d11f32c37f172f603bd"
}
],
"source": "REFERENCES_TAG"
}
]
}