Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
3 vulnerabilities found for python-mako by azure linux
AZL-105645 (CVE-2026-102991)
Vulnerability from osv_azurelinux – Published: 2026-09-30 20:17 – Updated: 2026-10-15 05:37 – Source websiteMako is a template library written in Python. Prior to 1.4.2, on Windows, TemplateLookup.get_template() in mako/lookup.py resolves template URIs with posixpath, while Template.init() in mako/template.py validates them with os.path, which uses ntpath. A URI beginning with a drive designator causes ntpath to absorb the traversal segments before the leading dot-dot check, while posixpath resolution can escape the configured template directory. An application that passes attacker-controlled template names or include paths can disclose process-readable files on the same volume, and a targeted file containing Mako template syntax may also be parsed and executed as a template. Raw URL paths are generally normalized before reaching this form, but query strings, form or JSON bodies, route parameters, and dynamic include expressions can preserve it. This issue is fixed in version 1.4.2.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2026-102991 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:3 |
python-mako
pkg:rpm/azure-linux/python-mako
|
Affected: ≤ 1.2.4-3 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:3",
"name": "python-mako",
"purl": "pkg:rpm/azure-linux/python-mako"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.2.4-3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "Mako is a template library written in Python. Prior to 1.4.2, on Windows, TemplateLookup.get_template() in mako/lookup.py resolves template URIs with posixpath, while Template.__init__() in mako/template.py validates them with os.path, which uses ntpath. A URI beginning with a drive designator causes ntpath to absorb the traversal segments before the leading dot-dot check, while posixpath resolution can escape the configured template directory. An application that passes attacker-controlled template names or include paths can disclose process-readable files on the same volume, and a targeted file containing Mako template syntax may also be parsed and executed as a template. Raw URL paths are generally normalized before reaching this form, but query strings, form or JSON bodies, route parameters, and dynamic include expressions can preserve it. This issue is fixed in version 1.4.2.",
"id": "AZL-105645",
"modified": "2026-10-15T05:37:09Z",
"published": "2026-09-30T20:17:26Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-102991"
}
],
"schema_version": "1.7.4",
"summary": "CVE-2026-102991 affecting package python-mako 1.2.4-3",
"upstream": [
"CVE-2026-102991"
]
}
AZL-83606 (CVE-2026-41205)
Vulnerability from osv_azurelinux – Published: 2026-04-23 19:17 – Updated: 2026-11-18 05:33 – Source websiteMako is a template library written in Python. Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI starts with // (e.g., //../../../secret.txt). The root cause is an inconsistency between two slash-stripping implementations. Any file readable by the process can be returned as rendered template content when an application passes untrusted input directly to TemplateLookup.get_template(). This vulnerability is fixed in 1.3.11.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2026-41205 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:3 |
python-mako
pkg:rpm/azure-linux/python-mako
|
Affected: < 1.2.4-3 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:3",
"name": "python-mako",
"purl": "pkg:rpm/azure-linux/python-mako"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.4-3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "Mako is a template library written in Python. Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI starts with // (e.g., //../../../secret.txt). The root cause is an inconsistency between two slash-stripping implementations. Any file readable by the process can be returned as rendered template content when an application passes untrusted input directly to TemplateLookup.get_template(). This vulnerability is fixed in 1.3.11.",
"id": "AZL-83606",
"modified": "2026-11-18T05:33:41Z",
"published": "2026-04-23T19:17:29Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41205"
}
],
"schema_version": "1.7.4",
"summary": "CVE-2026-41205 affecting package python-mako for versions less than 1.2.4-3",
"upstream": [
"CVE-2026-41205"
]
}
AZL-10892 (CVE-2022-40023)
Vulnerability from osv_azurelinux – Published: 2022-09-07 13:15 – Updated: 2022-09-25 08:09 – Source websiteSqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2022-40023 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:2 |
python-mako
pkg:rpm/azure-linux/python-mako
|
Affected: < 1.2.2-1 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:2",
"name": "python-mako",
"purl": "pkg:rpm/azure-linux/python-mako"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.2-1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.",
"id": "AZL-10892",
"modified": "2022-09-25T08:09:53Z",
"published": "2022-09-07T13:15:09Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40023"
}
],
"schema_version": "1.7.4",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "CVE-2022-40023 affecting package python-mako for versions less than 1.2.2-1",
"upstream": [
"CVE-2022-40023"
]
}