Security context

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

ebean-orm/ebean
master @ 97bd0e1
4
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
ebean-api/src/main/java/io/ebean/StdOperators.java: most-fixed (1 issue). Treat as high-risk during review.
4 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: A critical logical typo ('tenantId' vs 'tenant') prevented the multi-tenant ID from being bound to entity beans, exposing all multi-tenant entities managed by BeanDescriptor to data isolation bypasses.
Auth Bypass: Deleting records by ID or lists of IDs in the persistence layer did not append the active tenant context to the query WHERE predicate, enabling unauthorized cross-tenant data deletion.
Auth Bypass: Lazy loading query pathways failed to inherit the origin query's active tenant context, causing lazy-loaded relations to execute queries outside of the established multi-tenancy isolation boundary.