Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

sqlalchemy/mako
main @ d58a920
2
Fixes
2
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
mako/lookup.py: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: Windows-specific backslash normalization failures allowed attackers to bypass template root directory restrictions and read arbitrary host files via crafted URIs. This is tracked under CVE-2026-41205.
Path Traversal: Inconsistent slash-stripping behaviors (e.g., handling of double-slash prefixes) allowed attackers to bypass path validation logic within the TemplateLookup subsystem.