Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Mako versions before 1.4.2 are vulnerable on Windows when a TemplateLookup URI begins with a drive designator such as C:/ or C:\, which bypasses the directory traversal check. An attacker who can influence template names or include paths passed to TemplateLookup.get_template() can read files outside the template directory, and may execute them if they contain Mako template syntax. Upgrade to Mako 1.4.2 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.5 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0036, the 29th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-5639-2j2p-m4mx
- OSV: GHSA-5639-2j2p-m4mx
- github.com/sqlalchemy/mako/security/advisories/GHSA-5639-2j2p-m4mx
- nvd.nist.gov/vuln/detail/CVE-2026-102991
- github.com/sqlalchemy/mako/issues/441
- github.com/sqlalchemy/mako/commit/000ed85e4e48771eff460bf4fc721fb43de80e08
- github.com/sqlalchemy/mako
- github.com/sqlalchemy/mako/releases/tag/rel_1_4_2