That's like saying that if anyone can submit random queries to a Postgres database with full access, it can leak the database.
That's like middle-school-level SQL trivia.