ubuntu-cve-2026-44307
Vulnerability from osv_ubuntu
Published
2026-05-12 22:16
Modified
2026-05-20 21:47
Summary
Details
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.
Severity
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-mako",
"binary_version": "1.0.3+ds1-1ubuntu1+esm2"
},
{
"binary_name": "python3-mako",
"binary_version": "1.0.3+ds1-1ubuntu1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "mako",
"purl": "pkg:deb/ubuntu/mako@1.0.3+ds1-1ubuntu1+esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.2+ds1-1",
"1.0.3+ds1-1",
"1.0.3+ds1-1ubuntu1",
"1.0.3+ds1-1ubuntu1+esm1",
"1.0.3+ds1-1ubuntu1+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-mako",
"binary_version": "1.0.7+ds1-1ubuntu0.2+esm1"
},
{
"binary_name": "python3-mako",
"binary_version": "1.0.7+ds1-1ubuntu0.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "mako",
"purl": "pkg:deb/ubuntu/mako@1.0.7+ds1-1ubuntu0.2+esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.7+ds1-1",
"1.0.7+ds1-1ubuntu0.2",
"1.0.7+ds1-1ubuntu0.2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-mako",
"binary_version": "1.1.0+ds1-1ubuntu2.1+esm1"
},
{
"binary_name": "python3-mako",
"binary_version": "1.1.0+ds1-1ubuntu2.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "mako",
"purl": "pkg:deb/ubuntu/mako@1.1.0+ds1-1ubuntu2.1+esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.7+ds1-1",
"1.1.0+ds1-1",
"1.1.0+ds1-1ubuntu1",
"1.1.0+ds1-1ubuntu2",
"1.1.0+ds1-1ubuntu2.1",
"1.1.0+ds1-1ubuntu2.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mako",
"binary_version": "1.1.3+ds1-2ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "mako",
"purl": "pkg:deb/ubuntu/mako@1.1.3+ds1-2ubuntu0.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.3+ds1-2",
"1.1.3+ds1-2ubuntu0.1",
"1.1.3+ds1-2ubuntu0.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mako",
"binary_version": "1.3.2-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "mako",
"purl": "pkg:deb/ubuntu/mako@1.3.2-1ubuntu0.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.4+ds-2",
"1.3.1-1",
"1.3.2-1",
"1.3.2-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mako",
"binary_version": "1.3.9-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "mako",
"purl": "pkg:deb/ubuntu/mako@1.3.9-1ubuntu0.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.8-2",
"1.3.9-1",
"1.3.9-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mako",
"binary_version": "1.3.10-3ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "mako",
"purl": "pkg:deb/ubuntu/mako@1.3.10-3ubuntu0.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.9-1",
"1.3.10-3",
"1.3.10-3build1",
"1.3.10-3ubuntu0.1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-44307",
"modified": "2026-05-20T21:47:59Z",
"published": "2026-05-12T22:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-44307"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-44307"
},
{
"type": "REPORT",
"url": "https://github.com/sqlalchemy/mako/commit/72e10c573ca0fbcbddd4455abca8ce92a61780d7"
},
{
"type": "REPORT",
"url": "https://github.com/sqlalchemy/mako/issues/435"
},
{
"type": "REPORT",
"url": "https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_12"
},
{
"type": "REPORT",
"url": "https://github.com/sqlalchemy/mako/security/advisories/GHSA-2h4p-vjrc-8xpq"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-44307"
],
"withdrawn": "2026-05-23T19:12:25Z"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…