Security context

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

sonata-project/sonatadoctrineormadminbundle
4.x @ 75387de
4
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
SonataAdminBundle: most-fixed (2 issues). 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.

SQL Injection: User-controlled sorting parameters directly influenced the query structure, leading to SQL injection in order-by clauses before strict allowlist validation was enforced.
SQL Injection: Constructing IN clauses through string concatenation in the query builder allowed arbitrary query modification, requiring migration to parameterized placeholders.
Auth Bypass: Authorization checks that verify permissions without passing the specific model context can leak actions (like edit links) to users lacking object-level access.