CVE-2026-62151
CVE-2026-62151 — mysql_fdw SQL injection through a multi-byte character set escaping bypass
mysql_fdw builds string literals for queries sent to the remote MySQL server with an escaping routine that is not character-set aware. When the connection uses a multi-byte character set such as GBK, SJIS or Big5 and MySQL's default backslash escaping is in effect, a crafted value whose trailing byte is 0x5C absorbs the escaping backslash and leaves the following quote unescaped. The routine handles every pushed-down string constant, including ordinary WHERE-clause literals, so an authenticated user with only SELECT on a foreign table can break out of the 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 forces NO_BACKSLASH_ESCAPES into the session sql_mode and escapes string literals by doubling single quotes.
Published Updated Sources: cvelistV5, EDB
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.8
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.8 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-89
References
2 on the record
- www.enterprisedb.com/docs/security/advisories/cve202662151/
vendor-advisory
- github.com/EnterpriseDB/mysql_fdw/releases/tag/REL-2_10_0
release-notes, patch
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-72898 Metabase SQL injection via password reset endpointCVSS 10.0 · CISA KEV
- CVE-2026-114625 Security Advisory 0199CVSS 9.9 · CISA KEV
- CVE-2026-76461 Cisco Secure Email Gateway SQL Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-42208 LiteLLM: SQL injection in Proxy API key verificationCVSS 9.8 · CISA KEV
- CVE-2026-21643 Fortinet FortiClient EMS SQL Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-9586 Unauthenticated SQL Injection Leading to Remote Code Execution in Switchvox SMBCVSS 9.8 · CISA KEV
Elsewhere on this site
- Enterprisedbevery CVE for this vendor
- CWE-89other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.