Skip to main content
VulnerabilityPublished

CVE-2026-102991: sqlalchemy mako · Path Traversal

Affects sqlalchemy makoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.4.2 when convenient.

Data as of 14 Nov 2026, 20:43 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.4.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 14 Nov 2026.

What to do

Upgrade sqlalchemy mako to 1.4.2.

Affected software

ProductAffectedFixed in
sqlalchemymakoAffected
  • <1.4.2
Fixed in
  • 1.4.2
PyPImakopkg:pypi/makoOther threatsAffected
  • <1.4.2
Fixed in
  • 1.4.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

This vulnerability is fixed in Mako version 1.4.2. Users should upgrade to version 1.4.2 or later to remediate this issue. No other vendor advisories indicate alternative mitigations or that no action is required.

Description

CVE-2026-102991 is a path traversal vulnerability in the Mako template library for Python, affecting versions prior to 1.4.2 on Windows. The issue arises because TemplateLookup.get_template() uses posixpath to resolve template URIs, while Template.__init__() validates them with os.path (ntpath on Windows). This mismatch allows crafted template URIs with drive designators to bypass directory restrictions, potentially exposing readable files and enabling execution of attacker-controlled templates. The vulnerability is fixed in version 1.4.2.

References

Community reviews

Loading reviews…