CVE-2026-62152
CVE-2026-62152 — mysql_fdw allows non-superusers to set connection options that run SQL and read server files
mysql_fdw accepts several security-sensitive connection options from roles that are not superusers. A role with USAGE on the mysql_fdw foreign data wrapper can set init_command, which runs arbitrary SQL on the remote MySQL server at every connection, including connections made with other users' mappings on a shared foreign server. The same role can set mysql_default_file, ssl_key, ssl_cert, ssl_ca and ssl_capath, which name files read from the PostgreSQL server host, allowing server-side file reads and connection redirection. The issue is fixed in mysql_fdw 2.10.0. From mysql_fdw 2.10.0, only superusers can set init_command, mysql_default_file, ssl_key, ssl_cert, ssl_ca and ssl_capath.
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-269
- CWE-73
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1548Abuse Elevation Control Mechanism
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
References
2 on the record
- www.enterprisedb.com/docs/security/advisories/cve202662152/
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-84869 ScreenConnect Client: Guest-to-Host File Execution via File-Transfer ActionsCVSS 9.9 · CISA KEV
- CVE-2026-90817 Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-46817 Oracle E-Business Suite Improper Privilege Management VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-49035 Microsoft Partner Center Improper Access Control VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-21972 VMware vCenter Server Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-20021 SonicWall Email Security Improper Privilege Management VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Enterprisedbevery CVE for this vendor
- CWE-269other 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.