Highlights
Path Traversal: 1 prior fix. Scrutinize any change in this area.
template_sets.go: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Sandbox Escape: A direct file read bypassed the sandbox directory restrictions, allowing templates to read arbitrary files. The fix routes FromFile through resolveFilename, but any other direct ReadFile path could repeat this escape.
Path Traversal: Template file operations could read outside permitted directories due to missing allowlist enforcement. The fix introduced directory allowlists and banned tags/filters, but incomplete pattern matching or alternate loaders may still allow traversal.