Read the docs
TI-2026-32275 Aliases CVE-2026-44307GHSA-2h4p-vjrc-8xpq

Mako: Path traversal via backslash URI on Windows in TemplateLookup

Priority MEDIUM 45CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00742 54th percentileScored 2026-11-07
Fix Partial mako (sqlalchemy): 1.3.12Mako (PyPI): 1.3.12Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sqlalchemymakobefore 1.3.121.3.12Patch availableCNA
—Mako (PyPI)before 1.3.121.3.12Patch availableGHSA-2h4p-vjrc-8xpq
  • mako Vendorsqlalchemy Affected before 1.3.12 Fixed in 1.3.12 Patch available CNA
  • Mako (PyPI) Vendor— Affected before 1.3.12 Fixed in 1.3.12 Patch available GHSA-2h4p-vjrc-8xpq

Remediation

  • Fix · CNA mako (sqlalchemy) Fixed in 1.3.12
  • Fix · GHSA-2h4p-vjrc-8xpq Mako (PyPI) Fixed in 1.3.12 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 7AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 8AffectedNo fix yet: Fix deferred
Not affected: 8 products
  • Exploit Intelligence
  • Migration Toolkit for Applications 8
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat Quay 3
  • Red Hat Satellite 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44307
  2. 2026-10-03 Alias added: GHSA-2h4p-vjrc-8xpq
  3. 2026-10-24 Affected versions changed · Red Hat

References

  • TI-2026-65548 Mako: Path traversal via drive-letter URI on Windows in TemplateLookup CVSS 3.1MEDIUM 6.5
  • TI-2019-05082 SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter. CVSS 3.1CRITICAL 9.8
  • TI-2019-05329 SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled. CVSS 3.1HIGH 7.8
  • TI-2012-00742 Multiple SQL injection vulnerabilities in SQLAlchemy before 0.7.0b4, as used in Keystone… CVSS 2.0HIGH 7.5
  • TI-2022-18951 Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when… CVSS 3.1HIGH 7.5
  • TI-2026-29824 Mako: Path traversal via double-slash URI prefix in TemplateLookup CVSS 4.0HIGH 7.7

Sources