{
  "id": "CVE-2026-44307",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-44307",
  "published_at": "2026-05-12T21:53:52.826Z",
  "title": "Mako: Path traversal via backslash URI on Windows in TemplateLookup",
  "vendor": "sqlalchemy",
  "product": "mako",
  "cvss": {
    "score": 8.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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-20T14:59:54Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 7.7,
    "repo": "thburghout/dependabot-pip-mako-case-poc",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [
    {
      "repo": "thburghout/dependabot-pip-mako-case-poc",
      "url": "https://github.com/thburghout/dependabot-pip-mako-case-poc",
      "created_at": "2026-05-20T14:59:54Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2017-02-09T11:20:25Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "sqlalchemy",
        "product": "mako",
        "ranges": [
          "\u003c 1.3.12"
        ],
        "fixed_in": [
          "1.3.12"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mako to 1.3.12 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/sqlalchemy/mako/security/advisories/GHSA-2h4p-vjrc-8xpq"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/sqlalchemy/mako/commit/72e10c573ca0fbcbddd4455abca8ce92a61780d7"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_12"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
