CVE-2026-62153 — EnterpriseDB MySQL Foreign Data Wrapper (mysql fdw)
One of 4 EnterpriseDB MySQL Foreign Data Wrapper (mysql fdw) vulnerabilities published together by NVD: our article covers all of them.
DatabasesVulnerabilitiesSummary
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. The issue is fixed in mysql_fdw 2.10.0. From mysql_fdw 2.10.0, mysql_fdw escapes these names and accepts only letters, digits, underscores and commas in sql_mode.
Severity breakdown
Medium · 6.4
An attacker with administrator rights can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- none
- Impact on other systems
- high on confidentiality, integrity and availability
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| EnterpriseDB MySQL Foreign Data Wrapper (mysql fdw) | < 2.10.0 | 2.10.0 |
References by type
Patches and fixed releases
Other references
Affected
- EnterpriseDB MySQL Foreign Data Wrapper (mysql fdw)
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-62153?
mysqlfdw inserts several values into statements sent to the remote MySQL server without escaping them: the dbname and tablename options in ANALYZE, the remote schema name and the LIMIT TO and EXCEPT table names in IMPORT FOREIGN SCHEMA, and the sqlmode option in the SET sqlmode command. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-62153?
CVE-2026-62153 has a CVSS 4.0 base score of 6.4 (medium), from the CNA. An attacker with administrator rights can exploit this over the network, without any user action.
Is CVE-2026-62153 being exploited?
Not as far as is known: CVE-2026-62153 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-62153?
EnterpriseDB MySQL Foreign Data Wrapper (mysql fdw) < 2.10.0 (fixed in 2.10.0).
How do I fix CVE-2026-62153?
Update to a fixed release: EnterpriseDB MySQL Foreign Data Wrapper (mysql fdw) 2.10.0.