High severityGHSA Advisory· Published May 12, 2026· Updated May 13, 2026
CVE-2026-44307
CVE-2026-44307
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
MakoPyPI | < 1.3.12 | 1.3.12 |
Affected products
12- Range: <= 1.3.11
- osv-coords11 versionspkg:apk/chainguard/airflow-3pkg:apk/chainguard/airflow-core-3pkg:apk/chainguard/keep-apipkg:apk/chainguard/keep-api-fipspkg:apk/chainguard/mlflow-fipspkg:apk/chainguard/pgadmin4pkg:apk/chainguard/pgadmin4-fipspkg:apk/chainguard/reflexpkg:apk/wolfi/airflow-3pkg:apk/wolfi/reflexpkg:pypi/mako
< 3.2.1-r3+ 10 more
- (no CPE)range: < 3.2.1-r3
- (no CPE)range: < 3.2.1-r1
- (no CPE)range: < 0.51.0-r6
- (no CPE)range: < 0.51.0-r6
- (no CPE)range: < 3.12.0-r0
- (no CPE)range: < 9.15-r1
- (no CPE)range: < 9.15-r0
- (no CPE)range: < 0.9.3-r0
- (no CPE)range: < 3.2.1-r3
- (no CPE)range: < 0.9.3-r0
- (no CPE)range: < 1.3.12
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-2h4p-vjrc-8xpqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-44307ghsaADVISORY
- github.com/sqlalchemy/mako/commit/72e10c573ca0fbcbddd4455abca8ce92a61780d7nvdWEB
- github.com/sqlalchemy/mako/issues/435nvdWEB
- github.com/sqlalchemy/mako/releases/tag/rel_1_3_12nvdWEB
- github.com/sqlalchemy/mako/security/advisories/GHSA-2h4p-vjrc-8xpqnvdWEB
News mentions
0No linked articles in our index yet.