Highlights
Auth Bypass: 18 prior fixes. Scrutinize any change in this area.
crates/query-engine/compiler/src/passes/validate.rs: most-fixed (5 issues). Treat as high-risk during review.
27 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.
Auth Bypass: The query-engine's security pass must consistently map role-scoped traversal paths and reject scope escalations. Multiple bypasses have occurred due to loose path-prefix heuristics and missing per-entity role verifications on target nodes during compilation.
Denial of Service: Unbounded graph queries, expensive pathfinding algorithms without explicit relationship constraints, and missing group-by clauses on multi-node aggregations can trigger Cartesian-product scans and crash the backend query engine.
Path Traversal: Untrusted input processing (repository indexing and TAR archive parsing) presents a risk of arbitrary file write via symlink manipulation. Solid path canonicalization and validation are required when extracting archives or resolving specifiers.