CVE-2026-7816Pgadmin 4
Alta 8.7
Seguir: esta CVE · Pgadmin · Pgadmin 4 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 11 may 2026
- Actualizada
- 26 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-78
- 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:N/SI:N/SA:N/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
OS command injection (CWE-78) vulnerability in pgAdmin 4 Import/Export query export.
User-supplied input was interpolated directly into a psql \copy metacommand template without sanitization. An authenticated user could inject ") TO PROGRAM 'cmd'" to break out of the \copy (...) context and achieve arbitrary command execution on the pgAdmin server, or ") TO '/path'" for arbitrary file write. Additional fields (format, on_error, log_verbosity) were also raw-interpolated and exploitable.
Fix adds a parens-balance parser modeled on psql's strtokx tokenizer, allow-lists format/on_error/log_verbosity, rejects null bytes in the query, and tightens type and gating checks.
This issue affects pgAdmin 4: before 9.15.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pgadmin 4.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | pgadmin4 |
< 9.15 |
9.15 |
pip install "pgadmin4>=9.15" |
| PyPI | pgadmin4 |
< 9.15 |
9.15 |
pip install "pgadmin4>=9.15" |
Según OSV / GitHub Advisories (GHSA-j74f-g7vx-fh4x, PYSEC-2026-2870). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pgadmin | pgadmin_4 | ≥ 9.4 < 9.15 |
Boletines oficiales
- pgadmin4-9.17-1.1 on GA media · SUSE · openSUSE-SU-2026:11508-1 · 13 ago 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking Patch Vendor Advisory