Skip to main content
VulnerabilityPublished

CVE-2026-62152: mysql_fdw accepts several security-sensitive connection options from roles that are not superusers

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-62152· Medium 5.8

Not known to be exploited · CVSS 5.8 Medium : upgrade to 2.10.0 when convenient.

Data as of 25 Nov 2026, 19:06 UTC

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EDB)CVSS 4.05.8
Patch
Available – fixed in 2.10.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade MySQL Foreign Data Wrapper (mysql_fdw) to 2.10.0.

Affected software

ProductAffectedFixed in
EnterpriseDBMySQL Foreign Data Wrapper (mysql_fdw)Affected
  • <2.10.0
Fixed in
  • 2.10.0
GitHubMySQL Foreign Data Wrapper (mysql_fdw)pkg:github/MySQL Foreign Data Wrapper (mysql_fdw)Other threatsAffected
  • <2.10.0
Fixed in
  • 2.10.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to mysql_fdw version 2.10.0 or later, where only superusers can set the init_command, mysql_default_file, ssl_key, ssl_cert, ssl_ca, and ssl_capath options. This restricts the ability to perform these sensitive actions to trusted users only.

Description

The mysql_fdw extension for PostgreSQL improperly allows roles without superuser privileges to set several security-sensitive connection options. This includes the ability to run arbitrary SQL commands on remote MySQL servers via the init_command option and to specify files on the PostgreSQL server host for SSL configuration, potentially enabling unauthorized file reads and connection redirection. The vulnerability is addressed in mysql_fdw version 2.10.0, which restricts these options to superusers only.

References

Community reviews

Loading reviews…