pgAdmin4 versions prior to 9.11 contain a vulnerability in the PLAIN restore meta-command filter that fails to detect meta-commands when a SQL file starts with a UTF-8 Byte Order Mark or other special byte sequences. This flaw allows meta-commands such as \\! to bypass detection and be executed by psql during a restore operation, potentially leading to remote command execution.