Highlights
Auth Bypass: 38 prior fixes. Scrutinize any change in this area.
app/server/lib/ActiveDoc.ts: most-fixed (13 issues). Treat as high-risk during review.
85 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: Numerous fixes address authentication bypasses through session handling, header trust, and role checks. The recurring pattern is inconsistent enforcement of identity resolution and permission checks across different request paths (REST vs WebSocket, boot-key vs API key, header-based vs session-based).
Access Control Bypass: Multiple fixes target access control bypasses on document data endpoints (attachments, downloads, fetchTable, compare). The pattern is missing or inconsistent row/column-level permission checks on sibling APIs, allowing unauthorized data disclosure.
SSRF: SSRF fixes center on URL validation and proxy separation for untrusted requests. The risk is that inconsistent allowlist/proxy enforcement across different fetch paths (webhooks, imports, attachments) can allow access to internal resources.