CVE Feed
5.8 Medium

mysqlfdw accepts several security-sensitive connection options from roles that are not superusers.

CVE-2026-62152

mysqlfdw accepts several security-sensitive connection options from roles that are not superusers. A role with USAGE on the mysqlfdw foreign data wrapper can set initcommand, 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 mysqldefaultfile, sslkey, sslcert, sslca and sslcapath, which name files read from the PostgreSQL server host, allowing server-side file reads and connection redirection. The issue is fixed in mysqlfdw 2.10.0. From mysqlfdw 2.10.0, only superusers can set initcommand, mysqldefaultfile, sslkey, sslcert, sslca and sslcapath.

Assessment

CVSS
5.8 (v4.0)
Severity
Medium
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
25 November 2026
Last updated
25 November 2026
Assigner
EDB

CVSS vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-62152