AI and data stack advisories

0 critical this month · 294 projects

EnterpriseDBCVE-2026-62152

EnterpriseDB MySQL Foreign Data Wrapper: improper privilege management

EnterpriseDB

CVE-2026-62152 · Published Nov 25, 2026

Medium5.8
Fix: upgrade to 2.10.0 or later
EnterpriseDB advisory

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. The issue is fixed in mysql_fdw 2.10.0. From mysql_fdw 2.10.0, only superusers can set init_command, mysql_default_file, ssl_key, ssl_cert, ssl_ca and ssl_capath.

Affected versions

PackageAffectedFixed in
MySQL Foreign Data Wrapper (mysql_fdw)
Product
< 2.10.02.10.0
Details and references
CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-73, CWE-269

More EnterpriseDB advisories

All EnterpriseDB
CVE-2026-62153Nov 25EnterpriseDB MySQL Foreign Data Wrapper (mysql_fdw): SQL injectionmysql_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...Medium6.4Fixed in 2.10.0CVE-2026-62154Nov 25EnterpriseDB MySQL Foreign Data Wrapper (mysql_fdw): SQL injectionDuring 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.High7.5Fixed in 2.10.0CVE-2026-62155Nov 25EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw): injectionmongo_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.Medium5.3Fixed in 5.6.0CVE-2026-62156Nov 25EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw): SQL injectionhdfs_fdw builds string literals for IN and = ANY(array) clauses pushed down to the remote Hive or Spark server without escaping single quotes.Medium6.5Fixed in 2.4.0CVE-2026-62157Nov 25EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw): out-of-bounds readmongo_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...Medium5.3Fixed in 5.6.0CVE-2026-62151Nov 25EnterpriseDB MySQL Foreign Data Wrapper (mysql_fdw): SQL injectionmysql_fdw builds string literals for queries sent to the remote MySQL server with an escaping routine that is not character-set aware.Medium5.8Fixed in 2.10.0