CVE-2026-62157 Read Advisory Updated: 2026/11/25mongo_fdw out-of-bounds read when building an ObjectId from short _id values mongo_fdw 5.5.3 and earlier
Summary: mongo_fdw converts _id values to 12-byte MongoDB ObjectIds with libbson functions that read a fixed number of bytes without checking the input length: 12 bytes for a bytea _id, and 24 characters for name-typed values and $oid fields in JSON. A shorter value causes a read past the end of the input, which can crash the PostgreSQL backend or include adjacent memory in the query sent to MongoDB. Any user who can supply an _id value or predicate on a foreign table can trigger it. Read More... |
CVE-2026-62156 Read Advisory Updated: 2026/11/25hdfs_fdw HiveQL injection through pushed-down IN and = ANY(array) string literals hdfs_fdw 2.3.3 and earlier
Summary: hdfs_fdw builds string literals for IN and = ANY(array) clauses pushed down to the remote Hive or Spark server without escaping single quotes. An authenticated user with only SELECT on a foreign table can supply a crafted array value that breaks out of the literal and changes the HiveQL query, which then runs on the remote server with the foreign server's credentials. Read More... |
CVE-2026-62155 Read Advisory Updated: 2026/11/25mongo_fdw connection URI injection through unencoded option values mongo_fdw 5.5.3 and earlier
Summary: mongo_fdw builds the mongodb:// connection URI by inserting option values without percent-encoding them, so URI metacharacters (@ : / ? # & =) in a value are parsed as part of the URI structure. A role that is not a superuser but has USAGE on a foreign server can set the username and password options in its own user mapping. An @ or other metacharacter in those values can point the connection at a host the attacker controls, allowing connection redirection, credential capture and man-in-the-middle attacks. Server-level options such as the address, database and replica set can be injected the same way. Read More... |
CVE-2026-62154 Read Advisory Updated: 2026/11/25mysql_fdw runs SQL supplied by a malicious MySQL server during IMPORT FOREIGN SCHEMA mysql_fdw 2.9.3 and earlier
Summary: During IMPORT FOREIGN SCHEMA, mysql_fdw copies column metadata returned by the remote MySQL server into the CREATE FOREIGN TABLE statements it runs locally without quoting it. The COLUMN_DEFAULT value is placed directly in the DEFAULT clause, and the name of the generated ENUM type is inserted unquoted. A malicious or compromised MySQL server, or an attacker who can tamper with the connection, can return crafted information_schema metadata and run arbitrary SQL in the local PostgreSQL session of the user who runs IMPORT FOREIGN SCHEMA. Read More... |
CVE-2026-62153 Read Advisory Updated: 2026/11/25mysql_fdw SQL injection through ANALYZE, IMPORT FOREIGN SCHEMA and the sql_mode option mysql_fdw 2.9.3 and earlier
Summary: mysql_fdw inserts several values into statements sent to the remote MySQL server without escaping them: the dbname and table_name options in ANALYZE, the remote schema name and the LIMIT TO and EXCEPT table names in IMPORT FOREIGN SCHEMA, and the sql_mode option in the SET sql_mode command. A user who can create or alter foreign tables or foreign servers, or run IMPORT FOREIGN SCHEMA, can break out of the string literal and run arbitrary SQL on the remote MySQL server with the credentials of the user mapping. Read More... |
CVE-2026-62152 Read Advisory Updated: 2026/11/25mysql_fdw allows non-superusers to set connection options that run SQL and read server files mysql_fdw 2.9.3 and earlier
Summary: mysql_fdw accepts several security-sensitive connection options from roles that are not superusers. A role with USAGE on the mysql_fdw foreign data wrapper can set init_command, which runs arbitrary SQL on the remote MySQL server at every connection, including connections made with other users' mappings on a shared foreign server. The same role can set mysql_default_file, ssl_key, ssl_cert, ssl_ca and ssl_capath, which name files read from the PostgreSQL server host, allowing server-side file reads and connection redirection. Read More... |
CVE-2026-62151 Read Advisory Updated: 2026/11/25mysql_fdw SQL injection through a multi-byte character set escaping bypass mysql_fdw 2.9.3 and earlier
Summary: mysql_fdw builds string literals for queries sent to the remote MySQL server with an escaping routine that is not character-set aware. When the connection uses a multi-byte character set such as GBK, SJIS or Big5 and MySQL's default backslash escaping is in effect, a crafted value whose trailing byte is 0x5C absorbs the escaping backslash and leaves the following quote unescaped. The routine handles every pushed-down string constant, including ordinary WHERE-clause literals, so an authenticated user with only SELECT on a foreign table can break out of the literal and run arbitrary SQL on the remote MySQL server with the credentials of the user mapping. Read More... |