
PEACH
Un cadre d’isolation des locataires
Audit finding RLS-3 (2026-11-09 audit, follow-up deep pass), severity medium.
Audited revision b7c8030f; line numbers refer to it. Static reading with upstream documentation; nothing was executed. Reproduce with a failing test before changing code.
__graphql_orm_search_<table> (document text and vector) and __graphql_orm_change_log (entity, key, action, actor) are created without ENABLE/FORCE or policies; the RLS plan only touches the entity table. The runtime role needs DML on them, so any SQL path outside the ORM's own search query can read or alter every tenant's searchable text. The ORM's own search joins the base table and stays filtered.
crates/graphql-orm/src/graphql/orm/migrations.rs:2201-2207; crates/graphql-orm/src/graphql/orm/search.rs:1225-1262; crates/graphql-orm/src/graphql/orm/backup.rs:16, :436-448; crates/graphql-orm/src/graphql/orm/rls.rs:59
For RLS entities emit ENABLE/FORCE on the search table with a policy such as USING (EXISTS (SELECT 1 FROM <base> b WHERE b.<pk>::text = entity_pk)); add a tenant column and policy to the change log or document it as privileged-only.
Source: NVD
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."