CVE-2026-44307 json
Mako: Path traversal via backslash URI on Windows in TemplateLookup
published 2026-05-06 6 mo ago modified 2026-10-26 14 d ago also EUVD-2026-29867 , GHSA-2h4p-vjrc-8xpq , PYSEC-2026-2617
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi mako 1.3.12
- sqlalchemy mako 1.3.12
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-44307 updated cvss 5.9
mako: Mako: Information disclosure via directory traversal
-
Red Hat Ceph Storage 7 rhceph/rhceph-7-rhel9 Red Hat Ceph Storage 8 rhceph/rhceph-8-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat Enterprise Linux 8 python-mako, python3-mako, resource-agents, resource-agents-gcp, resource-agents-paf, resource-agents-aliyun Red Hat Enterprise Linux 9 python-mako, python3-mako Red Hat Enterprise Linux 10 python-mako Red Hat OpenShift AI (RHOAI) rhoai/odh-automl-rhel9, rhoai/odh-mlflow-rhel9, rhoai/odh-kserve-autogluon-server-rhel9, rhoai/odh-th06-cpu-torch210-py312-rhel9, rhoai/odh-th06-rocm64-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch210-py312-rhel9, +15 morenot affected: vulnerable code not present
+2 more productsfewer
Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9 Red Hat Satellite 6 satellite/iop-host-inventory-rhel9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mako | <1.3.12 |
1.3.12 |
Affected products
- sqlalchemy mako
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/sqlalchemy/mako/commit/72e10c573ca0fbcbddd4455abca8ce92a61780d7
web
-
github.com
/sqlalchemy/mako/security/advisories/GHSA-2h4p-vjrc-8xpq
web
-
github.com
/sqlalchemy/mako/issues/435
web
-
github.com
/sqlalchemy/mako/releases/tag/rel_1_3_12
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-44307
advisory
-
github.com
/sqlalchemy/mako
package
-
pypi.org
/project/mako
package
-
github.com
/advisories/GHSA-2h4p-vjrc-8xpq
advisory
Sources
- CVE List CVE-2026-44307
- GitHub Advisory GHSA-2h4p-vjrc-8xpq
- NVD CVE-2026-44307
- OSV PYSEC-2026-2617
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.