CVE-2026-116241Pgadmin 4
Ejecución remota de código en pgAdmin 4 mediante herramienta de importación/exp…
Crítica 9.4
Seguir: esta CVE · Pgadmin · Pgadmin 4 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 56
- CVSS 4.0
- 9.4
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 30 oct 2026
- Actualizada
- 6 nov 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
Qué pasa
pgAdmin 4 valida incorrectamente consultas en la herramienta de importación/exportación, permitiendo que un atacante con rol de base de datos ordinario escape del comando psql \copy mediante identificadores entrecomillados con barras invertidas. Esto permite ejecutar comandos arbitrarios en el host de pgAdmin con los permisos de la cuenta del sistema que ejecuta pgAdmin, incluso aunque el permiso de importación/exportación esté concedido a usuarios no administradores por defecto.
Ver el texto original de NVD (en inglés)
pgAdmin 4's Import/Export Data tool wraps a user's query export in a psql \copy (...) TO command and checks that the query's parentheses are balanced so that nothing can escape the wrapper. The check rejected a backslash inside a single-quoted string, but not inside a double-quoted identifier, where it treated the next double quote as closing the identifier. psql's \copy parser applies the connection's escape character to whichever quote opened a token, so with standard_conforming_strings off a backslash-escaped double quote does not close the identifier. pgAdmin's and psql's view of the quoting then diverged, a closing parenthesis hidden from the check ended the \copy (...) wrapper, and a following TO PROGRAM clause was executed by psql on the pgAdmin host, as the operating-system account running pgAdmin, before the server rejected the statement. An ordinary database role can turn standard_conforming_strings off for itself, and the Import/Export Data permission is granted to non-administrators by default.
This is a bypass of the fix for CVE-2026-17566. The fix rejects any backslash inside a double-quoted identifier, as was already done for single-quoted strings, since its meaning depends on a server setting that cannot be known reliably when the query is validated.
This issue affects pgAdmin 4: before 9.19.
Qué hacer
Hay parche · versiones corregidas: 9.19
Actualiza pgAdmin 4 a la versión 9.19 o posterior para aplicar la validación mejorada de identificadores entrecomillados.
- Aplica la actualización de seguridad del fabricante para Pgadmin 4.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pgadmin | pgadmin_4 | < 9.19 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Issue Tracking