SQL Injection Vulnerability in MySQL Foreign Data Wrapper by EnterpriseDB
CVE-2026-62151

5.8MEDIUM

What is CVE-2026-62151?

A vulnerability in the MySQL Foreign Data Wrapper (mysql_fdw) allows an authenticated user with SELECT access on a foreign table to exploit string literals in queries. This occurs due to a non-character-set aware escaping routine that mishandles multi-byte character sets. When using specific character encodings, crafted values can cause the routine to misinterpret escaping sequences, enabling the execution of arbitrary SQL commands on the remote MySQL server. To address this issue, users are advised to upgrade to mysql_fdw version 2.10.0, which implements safer escaping methods and enhances security by enforcing NO_BACKSLASH_ESCAPES in the session sql_mode.

Affected Version(s)

MySQL Foreign Data Wrapper (mysql_fdw) 0 < 2.10.0

References

CVSS V4

Score:
5.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.