CVE-2026-41205
Mako: Path traversal via double-slash URI prefix in TemplateLookup
Reported by github_m · Published April 23, 2026
Mako is fixed in 1.3.11 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Mako | PyPI | 1.3.11 |
| jupyter-base-notebook | Wolfi | 7.5.5-r4 |
| mlflow | Chainguard | 3.16.0-r0, 3.11.1-r0 |
| airflow-2 | Chainguard | 2.11.2-r9 |
| airflow-3 | Chainguard | 3.2.1-r0 |
| pgadmin4-fips | Chainguard | 9.14-r1 |
| airflow-core-3 | Chainguard | 3.2.1-r1 |
| jupyter-base-notebook | Chainguard | 7.5.5-r4 |
| superset-6.0 | Chainguard | 6.0.0-r9 |
| superset-5.0 | Wolfi | 5.0.0-r24 |
| superset-5.0 | Chainguard | 5.0.0-r24 |
| prefect-fips | Chainguard | 3.6.27-r0 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| sqlalchemy | mako | < 1.3.11 |
| wolfi | jupyter-base-notebook | 0 |
| chainguard | mlflow | 0, 0 |
| PyPI | Mako | 0 |
| chainguard | airflow-2 | 0 |
| chainguard | airflow-3 | 0 |
| chainguard | pgadmin4-fips | 0 |
| chainguard | airflow-core-3 | 0 |
| chainguard | jupyter-base-notebook | 0 |
| chainguard | superset-6.0 | 0 |
| wolfi | superset-5.0 | 0 |
| chainguard | superset-5.0 | 0 |
| chainguard | prefect-fips | 0 |
| chainguard | dagster-fips | 0 |
| amazon:2 | python-mako | 0 |
| sqlalchemy | mako | 0 |
| chainguard | open-webui | 0 |
| amazon:2023 | python-mako-doc | 0 |
| chainguard | dagster | 0 |
| chainguard | nemo | 0 |
…and 5 more
Timeline
- Apr 23, 2026 CVE Published
- Apr 24, 2026 Security Advisory
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jul 17, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-41205
vulnetix vdb fixes CVE-2026-41205
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-41205/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-41205 advisory
- https://github.com/advisories/GHSA-v92g-xgxw-vvmm advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2026-88.yaml advisory
- https://github.com/sqlalchemy/mako url