6.5

CVE-2026-102991: sqlalchemy mako Path Traversal

CVSS: 6.5v3.1MediumDeferred
AliasesGHSA-5639-2j2p-m4mxUBUNTU-CVE-2026-102991CGA-f5q9-28w2-3r7p
Published 30-09-2026Last modified 30-09-2026

Vulnerability summary

CVE-2026-102991 is a medium (CVSS 6.5) Path Traversal vulnerability in sqlalchemy mako. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · Change unavailable
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 30-09-2026
    PublishedVulnerability first disclosed.
  2. 30-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

01-10-202621-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard61 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • jupyterhub-k8s-singleuser-sample< 4.4.2-r5
  • mlflow-fips< 3.16.1-r1
  • nemoAll versions (No fix recorded)
PyPI1 product
  • mako< 1.4.2
Sqlalchemy1 product
Ubuntu1 product
  • makoAll versions (No fix recorded)
Wolfi1 product
  • reflex< 0.9.12-r1

5 vendors · 65 products

References

11 links
Show all 11 references