llamaCVEVulnerability Intelligence
/
pgAdmin 4

CVE-2025-2945

pgAdmin 4 remote code execution in Query Tool and Cloud Deployment

A remote attacker with a low-privilege login can run arbitrary code on the server.

Crítica · CVSS alto en tecnología listada, EPSS ≥ 10 %Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 3.1
9.9
Crítica
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
8.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ExplotaciónExploit públicoSSVC: none · no figura en CISA KEV
Exploits públicos82 fuentes
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición594 dDesde la divulgación, 3 abr 2025, 7:23 a. m.
EPSS ≥ 10 %2 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Umbral EPSS
Remediación
Parche 9.2.0
Monitoreo
Detectada
Verificada
3 abr 25
4 abr 25
26 feb 26
2 nov 26
3 nov 26
16 nov 26
19 nov 26
3 abr 25
30 ago 25
25 ene 26
23 jun 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2025-2945 divulgada · CVSS 9.9 (CNA)
Remediación Parche 9.2.0 pgadmin4 · 0 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 16 nov 2026

pgAdmin 4 has a flaw in its Query Tool and Cloud Deployment features that lets an attacker run arbitrary code on the server, because user-supplied input is passed unsafely to a Python eval() call. It can be exploited remotely by anyone with a low-privilege login, and public exploit code, including a Metasploit module, is available.

Affects pgAdmin 4 versions before 9.2, specifically the Query Tool and Cloud Deployment features, which can allow remote code execution. Fixed in 9.2.

¿Qué significa?A flaw in pgAdmin 4's Query Tool and Cloud Deployment features allows remote code execution, meaning someone could make the server run code it was not meant to run.
¿Quién está afectado?All pgAdmin 4 versions before 9.2 are listed as affected, in the Query Tool and Cloud Deployment modules. The installed version can be checked in the pgAdmin interface under the About pgAdmin 4 dialog.
¿Qué hacer?Upgrade pgAdmin 4 to version 9.2 or later. The facts list no workaround.
Descripción original del registro

Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules). The vulnerability is associated with the 2 POST endpoints; /sqleditor/query_tool/download, where the query_commited parameter and /cloud/deploy endpoint, where the high_availability parameter is unsafely passed to the Python eval() function, allowing arbitrary code execution. This issue affects pgAdmin 4: before 9.2.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
pgAdmin 4 Query Tool and Cloud Deployment modules are affected“Remote Code Executtion Vulnerability with Query Tool and Cloud Deployment (CVE-2025-2945)”
¿Quién debe revisar?Teams running pgAdmin 4 releases before 9.2 (PostgreSQL admin tooling) that use the Query Tool or Cloud Deployment features.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
pgAdmin 4 · pgadmin4< 9.2
9.2
9.19.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypipgadmin4
Corregida 9.2.0 0 d 9.19.0 no afectada
Versiones corregidas9.29.2.0
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb
1
Nuclei
—
0
PoC en GitHub
Cycloctane/cve-2025-2945-poc · I3r1h0n/pgAdminOpendoor · Khashayarnzk/CVE-2025-2945-pgAdmin-RCE · Udayveer17/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC- · abrewer251/CVE-2025-2945_PgAdmin_PoC · g0d150ne/CVE-2025-2945 …
7
Ver los 7 repositorios de GitHub
Cycloctane/cve-2025-2945-poc
I3r1h0n/pgAdminOpendoor
Khashayarnzk/CVE-2025-2945-pgAdmin-RCE
Udayveer17/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC-
abrewer251/CVE-2025-2945_PgAdmin_PoC
g0d150ne/CVE-2025-2945
plur1bu5/CVE-2025-2945-pgadmin-rce

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Reportehttps://github.com/pgadmin-org/pgadmin4/issues/8603
Exploithttps://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb
Exploithttps://github.com/Cycloctane/cve-2025-2945-poc
Exploithttps://github.com/I3r1h0n/pgAdminOpendoor
Exploithttps://github.com/Khashayarnzk/CVE-2025-2945-pgAdmin-RCE
Exploithttps://github.com/Udayveer17/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC-
Exploithttps://github.com/abrewer251/CVE-2025-2945_PgAdmin_PoC
Exploithttps://github.com/g0d150ne/CVE-2025-2945
Exploithttps://github.com/plur1bu5/CVE-2025-2945-pgadmin-rce

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.