p PatchFirst

PatchFirst · Latest vulnerabilities

mako vulnerabilities

Vulnerability published for mako in the last 30 days: 1. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 5

  1. CVE-2026-102991

    Medium · CVSS 6.5EPSS 0.36%Fix available

    Mako: Path traversal via drive-letter URI on Windows in TemplateLookup

    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 pa

    • Update to 1.4.2
    Published Updated
  2. CVE-2026-44307

    High · CVSS 8.7EPSS 0.74%Fix available

    Mako: Path traversal via backslash URI on Windows in TemplateLookup

    Mako is a template library written in Python. Prior to 1.3.12, on Windows, a URI using backslash traversal (e.g. \..\..\ secret.txt) bypasses the directory traversal check in Template.__init__ and the posixpath-based normalization in TemplateLookup.get_template(), allowing reads of files outside the configured template directory. This vulnerability is fixed in 1.3.12.

    • Update to 1.3.12
    Published Updated
  3. CVE-2026-41205

    High · CVSS 7.7EPSS 0.36%Fix available

    Mako: Path traversal via double-slash URI prefix in TemplateLookup

    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.

    • Update to 1.3.11
    Published Updated
  4. CVE-2010-2480

    Medium · CVSS 6.1EPSS 1.82%Fix available

    CVE-2010-2480

    Mako before 0.3.4 relies on the cgi.escape function in the Python standard library for cross-site scripting (XSS) protection, which makes it easier for remote attackers to conduct XSS attacks via vectors involving single-quote characters and a JavaScript onLoad event handler for a BODY element.

    • Update to 0.3.4
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →