PT-2026-159302
CVE-2026-62152
·
Published
2026-11-25
·
Updated
2026-11-25
Description by
CVSS 4.0
5.8
MediumMetricsAV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Found an issue in the description? Have something to add? Feel free to write us 👾