{"answers":{"affected":"3 open source packages ship an affected version, including mako and Mako.","exploited":"There is no known exploitation of CVE-2026-44307 in the wild and no public exploit code.","fix":"Upgrade mako to 1.3.12 or later.","what":"CVE-2026-44307 is a high-severity path traversal vulnerability in sqlalchemy mako, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-44307 and fix it if it is affected.\n\nWhat it is: CVE-2026-44307 is a high-severity path traversal vulnerability in sqlalchemy mako, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-44307 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mako (PyPI): affected all versions; fixed in 1.3.12\n- mako (PyPI): affected all versions; fixed in 1.3.12\n- Mako (PyPI): affected all versions; fixed in 1.3.12\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-44307/ (Markdown: https://insights.sbomify.com/CVE-2026-44307/index.md)","id":"CVE-2026-44307","markdown":"https://insights.sbomify.com/CVE-2026-44307/index.md","name":"CVE-2026-44307","record":{"aliases":["CLEANSTART-2026-AF49322","CLEANSTART-2026-MF83934","ECHO-15a8-1150-dd0d","GHSA-2h4p-vjrc-8xpq","MINI-3hf9-jwj9-rr54","MINI-7xgp-g26j-67f7","MINI-c9gg-4hxq-r6wc","MINI-g9vx-w466-5c2j","MINI-qgqh-3g2v-cprc","MINI-r66m-pxwv-x735","PYSEC-2026-2617","ROOT-APP-PYPI-CVE-2026-44307"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python template library","requires_auth":"none","summary":"An attacker can read arbitrary files outside the template directory on Windows by using backslash traversal in URIs.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Mako: Path traversal via backslash URI on Windows in TemplateLookup","id":"CVE-2026-44307","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Spring Cloud AWS: Missing SNS message signature verification allows spoofing of HTTP/HTTPS endpoint notifications","id":"CVE-2026-44308"},"packages":[{"ecosystem":"PyPI","fixed":["1.3.12"],"introduced":["0"],"last_affected":[],"package":"Mako","purl":null,"source":"GHSA-2h4p-vjrc-8xpq"},{"ecosystem":"PyPI","fixed":["1.3.12"],"introduced":["0"],"last_affected":[],"package":"mako","purl":"pkg:pypi/mako","source":"GHSA-2h4p-vjrc-8xpq"},{"ecosystem":"PyPI","fixed":["1.3.12"],"introduced":["0"],"last_affected":[],"package":"mako","purl":"pkg:pypi/mako","source":"PYSEC-2026-2617"}],"prev":{"headline":"Statamic: Email enumeration via forgot password endpoint","id":"CVE-2026-44306"},"products":["mako"],"published":"2026-05-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-13","vendors":["sqlalchemy"]},"summary":"An attacker can read arbitrary files outside the template directory on Windows by using backslash traversal in URIs.","url":"https://insights.sbomify.com/CVE-2026-44307/"}