CVE catalog

CVE-2026-41205

Mako is a template library written in Python. Prior to…

[CVE catalog]

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.

Severity
High · CVSS 7.7CVSS: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
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "mako",
      "status": "vulnerable",
      "release": "sid",
      "version": "1.3.10-3"
    },
    {
      "name": "mako",
      "status": "vulnerable",
      "release": "forky",
      "version": "1.3.10-3"
    },
    {
      "name": "mako",
      "status": "vulnerable",
      "release": "trixie",
      "version": "1.3.9-1"
    },
    {
      "name": "mako",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "1.2.4+ds-1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1134729,
      "name": "mako",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": 1134729,
      "name": "mako",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": 1134729,
      "name": "mako",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": 1134729,
      "name": "mako",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "mako",
      "ecosystem": "cpe",
      "fixed_version": "1.3.2-1ubuntu0.1"
    },
    {
      "name": "python-mako-doc",
      "ecosystem": "cpe",
      "fixed_version": "1.3.2-1ubuntu0.1"
    },
    {
      "name": "python3-mako",
      "ecosystem": "cpe",
      "fixed_version": "1.3.2-1ubuntu0.1"
    },
    {
      "name": "mako",
      "ecosystem": "cpe",
      "fixed_version": "not yet fixed"
    },
    {
      "name": "mako",
      "ecosystem": "cpe",
      "fixed_version": "1.3.11"
    },
    {
      "name": "mako",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.11"
            }
          ]
        }
      ],
      "ecosystem": "PyPI",
      "fixed_version": "1.3.11",
      "provider_record_id": "PYSEC-2026-88"
    },
    {
      "name": "mako",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.11"
            }
          ]
        }
      ],
      "ecosystem": "PyPI",
      "fixed_version": "1.3.11",
      "provider_record_id": "GHSA-V92G-XGXW-VVMM"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.0+ds1-1ubuntu2.1+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.0.7+ds1-1",
        "1.1.0+ds1-1",
        "1.1.0+ds1-1ubuntu1",
        "1.1.0+ds1-1ubuntu2",
        "1.1.0+ds1-1ubuntu2.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.1.0+ds1-1ubuntu2.1+esm1",
      "provider_record_id": "USN-8234-1"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.3+ds1-2ubuntu0.2"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.1.3+ds1-2",
        "1.1.3+ds1-2ubuntu0.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.1.3+ds1-2ubuntu0.2",
      "provider_record_id": "USN-8234-1"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.2-1ubuntu0.1"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.2.4+ds-2",
        "1.3.1-1",
        "1.3.2-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.3.2-1ubuntu0.1",
      "provider_record_id": "USN-8234-1"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.9-1ubuntu0.1"
            }
          ]
        }
      ],
      "release": "25.10",
      "versions": [
        "1.3.8-2",
        "1.3.9-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.3.9-1ubuntu0.1",
      "provider_record_id": "USN-8234-1"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.10-3ubuntu0.1"
            }
          ]
        }
      ],
      "release": "26.04",
      "versions": [
        "1.3.9-1",
        "1.3.10-3",
        "1.3.10-3build1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.3.10-3ubuntu0.1",
      "provider_record_id": "USN-8234-1"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.0+ds1-1ubuntu2.1+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.0.7+ds1-1",
        "1.1.0+ds1-1",
        "1.1.0+ds1-1ubuntu1",
        "1.1.0+ds1-1ubuntu2",
        "1.1.0+ds1-1ubuntu2.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.1.0+ds1-1ubuntu2.1+esm1",
      "provider_record_id": "UBUNTU-CVE-2026-41205"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.3+ds1-2ubuntu0.2"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.1.3+ds1-2",
        "1.1.3+ds1-2ubuntu0.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.1.3+ds1-2ubuntu0.2",
      "provider_record_id": "UBUNTU-CVE-2026-41205"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.2-1ubuntu0.1"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.2.4+ds-2",
        "1.3.1-1",
        "1.3.2-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.3.2-1ubuntu0.1",
      "provider_record_id": "UBUNTU-CVE-2026-41205"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.9-1ubuntu0.1"
            }
          ]
        }
      ],
      "release": "25.10",
      "versions": [
        "1.3.8-2",
        "1.3.9-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.3.9-1ubuntu0.1",
      "provider_record_id": "UBUNTU-CVE-2026-41205"
    },
    {
      "name": "mako",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.10-3ubuntu0.1"
            }
          ]
        }
      ],
      "release": "26.04",
      "versions": [
        "1.3.9-1",
        "1.3.10-3",
        "1.3.10-3build1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.3.10-3ubuntu0.1",
      "provider_record_id": "UBUNTU-CVE-2026-41205"
    },
    {
      "name": "python-Mako",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.11-1.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.3.11-1.1",
      "provider_record_id": "OPENSUSE-SU-2026:10616-1"
    },
    {
      "name": "mako",
      "ranges": [
        {
          "fixed": "1.3.11",
          "introduced": "",
          "last_affected": "",
          "start_excluding": ""
        }
      ],
      "ecosystem": "cpe",
      "fixed_version": "1.3.11",
      "provider_record_id": "NVD-CVE-2026-41205"
    }
  ]
}

[Debian bug #1134729]

Publisher notes

[trixie] mako: Minor issue [bookworm] mako: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [python3-mako]Unknown

    Source package: [mako]

    Details (2)
    • 1.2.4+ds-1 · all · bookworm

      Affected

      nvd · mako · debian · bookworm; nvd · mako · debian · 12

    • 1.2.4+ds-1 · all · bookworm

      Affected

      nvd · mako · debian · bookworm; nvd · mako · debian · 12

  • Source package: [mako]

    Details (2)
    • 1.2.4+ds-1 · all · bookworm

      Affected

      nvd · mako · debian · bookworm; nvd · mako · debian · 12

    • 1.2.4+ds-1 · all · bookworm

      Affected

      nvd · mako · debian · bookworm; nvd · mako · debian · 12

[Debian 13 (Trixie)]

  • [python3-mako]Unknown

    Source package: [mako]

    Details (2)
    • 1.3.9-1 · all · trixie

      Affected

      nvd · mako · debian · 13

    • 1.3.9-1 · all · trixie

      Affected

      nvd · mako · debian · 13

  • Source package: [mako]

    Details (2)
    • 1.3.9-1 · all · trixie

      Affected

      nvd · mako · debian · 13

    • 1.3.9-1 · all · trixie

      Affected

      nvd · mako · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-Mako]

    Details (1)
    • 1.4.1-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.3.11-1.1

      Version impact unknown

      nvd · python-Mako · opensuse · tumbleweed

  • Source package: [python-Mako]

    Details (1)
    • 1.4.1-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.3.11-1.1

      Version impact unknown

      nvd · python-Mako · opensuse · tumbleweed

Observed:

References