Vulnerability details
CVE-2026-41205
sqlalchemy mako
Mako: Path traversal via double-slash URI prefix in TemplateLookup
CVSS 4.0
7.7High
Official description
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 7.7High | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | 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 |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| sqlalchemy | mako | < 1.3.11 | CVEProject cvelistV5 (CNA) |
References and advisories
3- https://github.com/sqlalchemy/mako/security/advisories/GHSA-v92g-xgxw-vvmm x_refsource_CONFIRM
- https://github.com/sqlalchemy/mako/commit/e05ac61989a7fb9dd7dcde6cfd72dc48328719a3 x_refsource_MISC
- https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_11 x_refsource_MISC
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-04-23
- Last updated
- 2026-05-20
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.36%
Probability of exploitation in 30 days
30%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')