Bug 2584267 (CVE-2026-62152) - CVE-2026-62152 mysql_fdw: mysql_fdw: Arbitrary SQL execution via sensitive connection options
Summary: CVE-2026-62152 mysql_fdw: mysql_fdw: Arbitrary SQL execution via sensitive co...
Keywords:
Status: NEW
Alias: CVE-2026-62152
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-25 16:41 UTC by OSIDB Bzimport
Modified: 2026-11-25 17:03 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-25 16:41:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.