p PatchFirst

CVE-2026-62153

CVE-2026-62153 · mysql_fdw SQL injection through ANALYZE, IMPORT FOREIGN SCHEMA and the sql_mode option

CVSS 6.4 · Media · EPSS 0,7% · Corrección disponible

Compara con tu versión instalada

Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.

Comprueba la versión instalada:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="postgresql-mysql-fdw"'

Evalúa los riesgos de tu servidor

La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.

La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.

curl -fsSL https://patchfirst.dev/check.sh | sh
Comprobar tu servidor gratis →

Los canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

mysql_fdw inserts several values into statements sent to the remote MySQL server without escaping them: the dbname and table_name options in ANALYZE, the remote schema name and the LIMIT TO and EXCEPT table names in IMPORT FOREIGN SCHEMA, and the sql_mode option in the SET sql_mode command. A user who can create or alter foreign tables or foreign servers, or run IMPORT FOREIGN SCHEMA, can break out of the string literal and run arbitrary SQL on the remote MySQL server with the credentials of the user mapping. The issue is fixed in mysql_fdw 2.10.0. From mysql_fdw 2.10.0, mysql_fdw escapes these names and accepts only letters, digits, underscores and commas in sql_mode.

Publicación
Actualización

Pila tecnológica: system

Productos y versiones afectados

  • mysql foreign data wrapper (mysql_fdw)

    Versiones
    • ≥ 0, < 2.10.0: Afectada (custom)

    Actualiza a 2.10.0

  • postgresql-mysql-fdw Ubuntu 16.04 LTS

    Versiones
    • 2.0.1-1
    • 2.1.2-1
    • 2.1.2-1build1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • postgresql-mysql-fdw Ubuntu 18.04 LTS

    Versiones
    • 2.2.0-2
    • 2.3.0-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • postgresql-mysql-fdw Ubuntu 20.04 LTS

    Versiones
    • 2.5.1-1build1
    • 2.5.3-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • postgresql-mysql-fdw Ubuntu 22.04 LTS

    Versiones
    • 2.5.5-2
    • 2.7.0-1
    • 2.7.0-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • postgresql-mysql-fdw Ubuntu 24.04 LTS

    Versiones
    • 2.9.1-1
    • 2.9.1-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • postgresql-mysql-fdw Ubuntu 26.10

    Versiones
    • 2.9.3-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • postgresql-mysql-fdw Ubuntu 26.04 LTS

    Versiones
    • 2.9.2-2build1
    • 2.9.3-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →