Skip to content
RED SAGSkills
hard20 pts · first answer countsdatabase-securitypostgresql

Risky SECURITY DEFINER function

A SECURITY DEFINER function owned by an admin role calls lookup_user() without a schema name. Why is this dangerous, and what is the fix?

Choose one answer