{
  "id": "CVE-2026-41205",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41205",
  "published_at": "2026-04-23T18:52:24.194Z",
  "title": "Mako: Path traversal via double-slash URI prefix in TemplateLookup",
  "vendor": "sqlalchemy",
  "product": "mako",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS: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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "sqlalchemy",
        "product": "mako",
        "ranges": [
          "\u003c 1.3.11"
        ],
        "fixed_in": [
          "1.3.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mako to 1.3.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/sqlalchemy/mako/security/advisories/GHSA-v92g-xgxw-vvmm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/sqlalchemy/mako/commit/e05ac61989a7fb9dd7dcde6cfd72dc48328719a3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_11"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
