mako vulnerabilities

A super-fast templating language that borrows the best ideas from the existing templating languages.

Registry
PyPI
Latest
1.4.3
License
MIT

5 known advisories

The latest version, 1.4.3, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'mako>=1.4.3'

Is your project on an affected mako?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for mako

  • MediumCVE-2026-102991GHSA-5639-2j2p-m4mx5 Oct 2026

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

    Affected
    <1.4.2
    Fixed in
    1.4.2
  • HighCVE-2026-44307GHSA-2h4p-vjrc-8xpq6 May 2026

    Mako vulnerable to path traversal via backslash URI on Windows in TemplateLookup

    Affected
    <1.3.12
    Fixed in
    1.3.12
  • HighCVE-2026-41205GHSA-v92g-xgxw-vvmm16 Apr 2026

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

    Affected
    <1.3.11
    Fixed in
    1.3.11
  • HighCVE-2022-40023GHSA-v973-fxgf-6xhp16 Sept 2022

    mako is vulnerable to Regular Expression Denial of Service

    Affected
    <1.2.2
    Fixed in
    1.2.2
  • MediumCVE-2010-2480GHSA-7q8x-38mc-p84f17 May 2022

    Mako contains Cross-site Scripting vulnerability

    Affected
    <0.3.4
    Fixed in
    0.3.4

Is your mako version vulnerable?

Which of your client projects still run an old mako?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.