CVE-2026-41205
Mako: Path traversal via double-slash URI prefix in TemplateLookup
No exploitation reported by the sources we read.
- Published2026-04-23
- Fixed in1.3.11
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-04-2319:17CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.3 | < 1.3.11 | 1.3.11 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- sqlalchemy makoAffected
- = < 1.3.11no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-05-20
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- airflow-2MinimOSall versions · no fixed version listedand 5 other packages
- airflow-2CleanStartall versions · fixed in 2.10.3-r2
- airflow-2CleanStartall versions · fixed in 2.11.2-r1
- airflow-2Chainguardall versions · fixed in 2.11.2-r9
- airflow-3Wolfiall versions · fixed in 3.2.1-r0
- airflow-3Chainguardall versions · fixed in 3.2.1-r0
- airflow-core-2Chainguardall versions · no fixed version listed
- airflow-core-3Chainguardall versions · fixed in 3.2.1-r1
34 more package ranges on OSV.dev
Vendor advisories
mako: Mako: Information disclosure via path traversal vulnerability
mta/mta-solution-server-rhel9 as a component of Migration Toolkit for Applications 8 · resource-agents as a component of Red Hat Enterprise Linux 8 · resource-agents-aliyun as a component of Red Hat Enterprise Linux 8 · +8 more
Fix
- Update Sqlalchemy mako to 1.3.11
- Workaround from the vendor Red Hat Product Security CVE-2026-41205 · 11 productsTo mitigate this issue, applications utilizing the Mako template library must validate and sanitize all input before passing it to the `TemplateLookup.get_template()` function. Implementing robust input validation routines within applications will prevent specially crafted URIs from traversing outs…
- No fix available, says the vendor Red Hat Product Security CVE-2026-41205 · 11 productsFix deferred
Advisories and patches
- github.comMitigation · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-04-23
- CNACVSS 4.07.7known since 2026-10-27
- NVDCVSS 3.17.5read 2026-10-27
- CNAweakness (CWE)CWE-22known since 2026-10-27
- FIRST EPSSEPSS score0.4 %2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2026-04-16
- Microsoft MSRCadvisory—
Identifiers
- AZL-83606same flawAzure Linux · MIT
- CGA-285g-7vp3-9888same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2r62-xf66-772gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2rcg-9675-g8r2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3ch3-hx6h-h462same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3vh2-2285-9223same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5c9q-gpm4-x9f2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6c3h-4364-4x4psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-947j-5hm8-rchmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9fm2-58m7-mwc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9rm6-p84c-8327same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c7qc-7r47-hg3psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cchh-vcjf-r4fwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cff8-37wm-9rxgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6jp-m2xr-7498same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gcr9-3fj5-xr4msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ggmm-jwff-xfjgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h4pg-3pwm-hmvvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h5cg-f7wx-j429same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hpww-6g6x-v927same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hv84-pjqc-g653same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j9rq-cxh9-h5j6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jf3h-ppc7-6pwhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m25q-fwc4-xgqcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m2w5-933c-9w8hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mf5r-m72x-888wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mvw6-6p3q-6p6rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pr6v-p835-66h4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pvf7-jpgj-vr2wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w4rj-w2gm-jgfrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wj85-gj5w-8x8jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x8hf-c7wr-9qm4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xp59-c7j2-h4v7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xqf6-fhg5-f34jsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-25279same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-v92g-xgxw-vvmmsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-59q5-m3jf-chw3same flawMinimOS · LicenseRef-unstated
- MINI-c8mp-fxq5-j6m2same flawMinimOS · LicenseRef-unstated
- MINI-w3rv-59j8-cmm9same flawMinimOS · LicenseRef-unstated
- MINI-xj72-mp2j-v4fwsame flawMinimOS · LicenseRef-unstated
- PYSEC-2026-88same flawPyPA Advisory Database · CC-BY-4.0
- openSUSE-SU-2026:10616-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 4.0 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
- Published
- 2026-04-23
- Last Modified
- 2026-10-26
- NVD status
- Modified
- MSRC Title
- Mako: Path traversal via double-slash URI prefix in TemplateLookup
- GitHub Advisory
- GHSA-v92g-xgxw-vvmm
Frequently asked questions
What is CVE-2026-41205?
Is CVE-2026-41205 actively exploited?
What is the CVSS score for CVE-2026-41205?
Running mako? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-v92g-xgxw-vvmm
- Microsoft MSRC · Microsoft terms of use (personal and non-commercial use) · terms restrict redistribution
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0