Live threats

All CVEs / Sqlalchemy

CVE-2026-41205Sqlalchemy Mako

High 7.7 No auth needed

Priority
61
CVSS 4.0
7.7
EPSS
—
Auth required
No
Published
Apr 23, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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:P/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mako.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mako < 1.3.11 1.3.11 pip install "mako>=1.3.11"
PyPI mako < 1.3.11 1.3.11 pip install "mako>=1.3.11"

Per OSV / GitHub Advisories (GHSA-v92g-xgxw-vvmm, PYSEC-2026-88). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sqlalchemymako< 1.3.11

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.