SQLite before 3.54.0 contains an authorizer bypass vulnerability in xferOptimization() that allows attackers to read protected tables by skipping SQLITE_SELECT and SQLITE_READ authorizer checks. Attackers submitting untrusted SQL can run INSERT INTO dst SELECT * FROM src into a schema-compatible table to copy rows the authorizer denies and read them.
https://sqlite.org/src/info/d1cdb817cafd03a4
https://sqlite.org/releaselog/3_54_0.html
https://sqlite.org/bugs/info/2026-05-21T03:31:22Z
https://github.com/sqlite/sqlite/commit/6ae99493992cd05bcbae9734d6974d2405070593
https://github.com/sqlite/sqlite/blob/version-3.53.7/src/insert.c#L1030-L1035