CVE-2026-102991
Mako: Path traversal via drive-letter URI on Windows in TemplateLookup
A public proof of concept exists; no exploitation attested.
- Published2026-09-30
- Fixed in1.4.2
- 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.4.2, on Windows, TemplateLookup.get_template() in mako/lookup.py resolves template URIs with posixpath, while Template.__init__() in mako/template.py validates them with os.path, which uses ntpath. A URI beginning with a drive designator causes ntpath to absorb the traversal segments before the leading dot-dot check, while posixpath resolution can escape the configured template directory. An application that passes attacker-controlled template names or include paths can disclose process-readable files on the same volume, and a targeted file containing Mako template syntax may also be parsed and executed as a template. Raw URL paths are generally normalized before reaching this form, but query strings, form or JSON bodies, route parameters, and dynamic include expressions can preserve it. This issue is fixed in version 1.4.2.
Timeline
dates in UTC- 2026-09-3020:17CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.4 | < 1.4.2 | 1.4.2 | 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.4.2no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-09-30
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 listed
- airflow-2Chainguardall versions · no fixed version listedand 1 other package
- airflow-3CleanStartall versions · fixed in 3.0.6-r9
- airflow-3CleanStartall versions · fixed in 3.1.8-r13
- airflow-3CleanStartall versions · fixed in 3.2.1-r11
- airflow-3CleanStartall versions · fixed in 3.3.2-r1
- apache-supersetCleanStartall versions · fixed in 5.0.0-r11
- jupyterhubMinimOSall versions · fixed in 6.0.1-r0
67 more package ranges on OSV.dev
Fix
- Update mako to 1.4.2
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-09-30
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-09-30
- CNACVSS 3.16.5known since 2026-10-23
- NVDweakness (CWE)CWE-22read 2026-10-23
- FIRST EPSSEPSS score0.4 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2026-10-05
Identifiers
- AZL-105645same flawAzure Linux · MIT
- CGA-2229-5wfc-2c8wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-225r-4c4p-xf6hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2672-gvv7-6hrrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2cvw-c465-rcf9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2g45-7q29-7jmxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2r6f-qw6r-w22rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-33x3-jxr3-6qr3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3jwh-q2p8-mhh6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3qhx-mv85-m56qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-43q8-6xq2-mxx3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cw6-f2qp-hv76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4f3x-mgj7-43v3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4fm3-m2pq-vgv3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4q8h-g847-cjc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-52cp-cj5v-xcw5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-52vm-wc8h-8xq9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-54f4-cfmg-h24psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-54rg-3gxx-wqhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5639-6wjp-49jvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5p86-m3c8-wrx9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5x58-frfx-vw3psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5x7v-chc7-px92same flawChainguard · CC-BY-NC-ND-4.0
- CGA-648h-xq8p-3582same flawChainguard · CC-BY-NC-ND-4.0
- CGA-652w-f7m3-v7c5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-678p-7m73-v4hjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6ccf-px87-6fj4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6m9w-mw2r-fgfvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6mgj-whfh-f4pjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6qr9-mx7h-cqv6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6w59-r4v8-9696same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6xfg-63m8-vgg7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-765c-wmgp-g53gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-76p7-6qch-qhrfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7jpv-5fcx-fcvvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7v2f-47j9-qgv8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7w57-qrc7-9x6fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7xpp-q3fx-gpvfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8c85-f2wf-gqqpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8gpx-hghr-6x8rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8hc3-5fx6-5m66same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8pjq-5m6v-rjrvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8vmw-mg87-g25msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-99rj-mxgw-j9c7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9mx3-jc9r-5xmcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9pjx-468f-j4c5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c274-4g36-jv7csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cc62-j476-j9qcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cfgg-whmp-7cgrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cfj5-rw69-fxj2same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
- Published
- 2026-09-30
- Last Modified
- 2026-09-30
- NVD status
- Deferred
- GitHub Advisory
- GHSA-5639-2j2p-m4mx
Frequently asked questions
What is CVE-2026-102991?
Is CVE-2026-102991 actively exploited?
What is the CVSS score for CVE-2026-102991?
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
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5639-2j2p-m4mx
- 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
- CISA Vulnrichment · CC0-1.0