Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

CVE-2026-62154: PostgreSQL MySQL FDW may execute malicious SQL from MySQL server

CVE-2026-62154 · published today
Summary

The MySQL foreign data wrapper used with PostgreSQL can copy column information from a MySQL source when you run IMPORT FOREIGN SCHEMA. If the MySQL server is compromised, it can send crafted data that causes the wrapper to run unwanted SQL commands on the PostgreSQL side. Update to the latest version of the wrapper or limit imports to trusted MySQL servers to protect your database.

What to do
  • Update enterprisedb mysql foreign data wrapper (mysql_fdw) to version 2.10.0 or later.
Affected software
Ecosystem VendorProductAffected versions
– enterprisedb mysql foreign data wrapper (mysql_fdw) < 2.10.0
Ubuntu:16.04:LTS canonical postgresql-mysql-fdw All versions
Original advisory text
mysql_fdw runs SQL supplied by a malicious MySQL server during IMPORT FOREIGN SCHEMA
(During IMPORT FOREIGN SCHEMA, mysql_fdw copies column metadata returne ...)
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.9 Critical
Type
CWE-89SQL Injection
Timeline
Published26 Nov 2026
Updated26 Nov 2026
First seen25 Nov 2026
Sources
CVE-2026-62154 · MITRE
Track software like this
Free during beta