The mysql_fdw extension for PostgreSQL improperly allows roles without superuser privileges to set several security-sensitive connection options. This includes the ability to run arbitrary SQL commands on remote MySQL servers via the init_command option and to specify files on the PostgreSQL server host for SSL configuration, potentially enabling unauthorized file reads and connection redirection. The vulnerability is addressed in mysql_fdw version 2.10.0, which restricts these options to superusers only.