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…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.72%
- Published
- Nov 25, 2026
- In the news
- Not yet
What to do
A serious SQL injection flaw in Enterprisedb MySQL Foreign Data Wrapper MySQL Fdw that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 2.10.0
Affected versions
- Enterprisedb MySQL Foreign Data Wrapper MySQL Fdw
- Before 2.10.0
Description
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. The issue is fixed in mysql_fdw 2.10.0. From mysql_fdw 2.10.0, mysql_fdw quotes these values before building the statements.
Affected products
Get alerts for these →Timeline 3
Latest change: Tenable Container Security plugin 499280: Alpine: postgresql-mysql_fdw: security update to 2.10.0-r0 (Dec 3, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Yesterday
Wed, Nov 25, 2026
- CVECVE-2026-62154 published (CVSS 7.5)CVE Program · 16:36 UTC
References 2
- github.com Patch /EnterpriseDB/mysql_fdw/releases/tag/REL-2_10_0
- www.enterprisedb.com Vendor Advisory /docs/security/advisories/cve202662154/