Skip to main content
No exploitation reportedFix available

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?

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
  1. 2026-04-2319:17CVE publishedNVD

Versions per branch

NVD · OSV
Sqlalchemy mako
BranchAffectedFixed in
1.3< 1.3.111.3.11

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 mako
    Affected
    • = < 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

  • CVE-2026-41205 Red Hat Product Security11 known affected

    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

Full record on NVD

Fix

  1. Update Sqlalchemy mako to 1.3.11
  2. 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…
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-41205 · 11 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2026-41205 actively exploited?

Active exploitation of CVE-2026-41205 has not been confirmed. Its EPSS score was 0.4% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-41205?

CVE-2026-41205 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

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

Sources for this record