PoC Monitor
← All CVEs
CVE-2025-13780published 11 Dec 2025 18:30 UTCData: JSON · API

pgadmin.org pgAdmin 4

Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)

pgAdmin versions up to 9.10 are affected by a Remote Code Execution (RCE) vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. This issue allows attackers to inject and execute arbitrary commands on the server hosting pgAdmin, posing a critical risk to the integrity and security of the database management system and underlying data.

First public PoC 15 hafter publication · 12 Dec 2025
Public PoCs22 on GitHub
CVSS9.1critical · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

pgadmin.org pgAdmin 4
  • <= 9.10
pgadmin4 (PyPI)
  • < 9.11

Fixed in 9.11

from GitHub Security Advisory GHSA-fxmw-jcgr-w44v

Mitigation

Upgrade pgadmin4 to 9.11 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published11 Dec 2025 · t = 0First public PoC12 Dec 2025 · t+15h

First public PoC 15 h after publication; not in CISA KEV. First PoC: meenakshisl/PoC-CVE-2025-13780 (created 12 Dec 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs · 1 informational

PoCs 2
RepositoryCreatedStarsAssessment
meenakshisl/PoC-CVE-2025-13780 12 Dec 2025 +15 h 0 PoC
ThemeHackers/CVE-2025-13780 17 Dec 2025 +5.4 d 3 PoC
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

Informational 1
RepositoryCreatedStarsAssessment
zeropwn/pgadmin4-9.10-CVE-2025-13780 12 Dec 2025 +6 h 14 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /authenticate/login

Key headers
Accept: application/json Referer: {var}/login?next=/
Body markers
email= password= csrf_token= email=exploit@example.com password=ExploitPass!23 in application/x-www-form-urlencoded
Ports
5050
Seen in
2 repos: ThemeHackers/CVE-2025-13780, meenakshisl/PoC-CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:435 meenakshisl/PoC-CVE-2025-13780/scripts/ui_restore_exploit.py:38

GET /browser/database/nodes/{var}/

Key headers
Accept: application/json
Ports
5050
Seen in
1 repo: ThemeHackers/CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:1123

GET /browser/server/nodes/{var}/

Key headers
Accept: application/json
Ports
5050
Seen in
1 repo: ThemeHackers/CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:1095

GET /browser/server_group/nodes/

Key headers
Accept: application/json
Ports
5050
Seen in
1 repo: ThemeHackers/CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:758 ThemeHackers/CVE-2025-13780/scanner.py:1073

GET /misc/ping

Ports
5050
Seen in
1 repo: ThemeHackers/CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:343

GET /preferences/get_all

Key headers
Accept: application/json
Ports
5050
Seen in
1 repo: ThemeHackers/CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:241

POST /browser/server/connect/{var}/{var}

Key headers
Referer: {var}/browser/ X-Pga-Csrftoken: {var}
Body markers
email=exploit@example.com password=ExploitPass!23 csrf_token= in application/x-www-form-urlencoded
Ports
5050
Seen in
1 repo: meenakshisl/PoC-CVE-2025-13780
Evidence
meenakshisl/PoC-CVE-2025-13780/scripts/ui_restore_exploit.py:53

POST /browser/server/obj/{var}/

Key headers
Accept: application/json
Body markers
"name" "host":"db" "port" "username":"user" "password":"password" "db":"cve2025-13780" "sslmode":"prefer" "comment":"Auto-generated by scanner" "gid" in application/json
Ports
5050
Seen in
1 repo: ThemeHackers/CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:784

POST /preferences/save

Key headers
Accept: application/json
Body markers
mid= pg_bin_paths= in application/x-www-form-urlencoded
Ports
5050
Seen in
1 repo: ThemeHackers/CVE-2025-13780
Evidence
ThemeHackers/CVE-2025-13780/scanner.py:296

POST /restore/job/{var}

Key headers
Referer: {var}/browser/ X-Pga-Csrftoken: {var}
Ports
5050
Seen in
1 repo: meenakshisl/PoC-CVE-2025-13780
Evidence
meenakshisl/PoC-CVE-2025-13780/scripts/ui_restore_exploit.py:74

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /authenticate/login
(?i)^/authenticate/login(?:[?#].*)?$
GET /browser/
(?i)^/browser/(?:[?#].*)?$
GET /browser/database/nodes/{var}/
(?i)^/browser/database/nodes/[^/?#]*/(?:[?#].*)?$
GET /browser/server/nodes/{var}/
(?i)^/browser/server/nodes/[^/?#]*/(?:[?#].*)?$
GET /browser/server_group/nodes/
(?i)^/browser/server_group/nodes/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /authenticate/login
alert http any any -> $HOME_NET [5050] (msg:"GG PoC-Monitor CVE-2025-13780 pgadmin.org pgAdmin 4 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/authenticate/login"; http.header; content:"Accept: application/json"; nocase; http.header_names; content:"Referer"; nocase; http.request_body; content:"email="; http.request_body; content:"password="; http.request_body; content:"csrf_token="; http.request_body; content:"email=exploit@example.com"; http.request_body; content:"password=ExploitPass!23"; reference:url,poc.griffinguard.io/cve/CVE-2025-13780; classtype:web-application-attack; sid:9795235; rev:1;)
GET /browser/
alert http any any -> $HOME_NET [5050] (msg:"GG PoC-Monitor CVE-2025-13780 pgadmin.org pgAdmin 4 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/browser/"; reference:url,poc.griffinguard.io/cve/CVE-2025-13780; classtype:web-application-attack; sid:9152477; rev:1;)
GET /browser/database/nodes/{var}/
alert http any any -> $HOME_NET [5050] (msg:"GG PoC-Monitor CVE-2025-13780 pgadmin.org pgAdmin 4 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/browser/database/nodes/"; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-13780; classtype:web-application-attack; sid:9232597; rev:1;)
GET /browser/server/nodes/{var}/
alert http any any -> $HOME_NET [5050] (msg:"GG PoC-Monitor CVE-2025-13780 pgadmin.org pgAdmin 4 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/browser/server/nodes/"; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-13780; classtype:web-application-attack; sid:9728023; rev:1;)
GET /browser/server_group/nodes/
alert http any any -> $HOME_NET [5050] (msg:"GG PoC-Monitor CVE-2025-13780 pgadmin.org pgAdmin 4 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/browser/server_group/nodes/"; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-13780; classtype:web-application-attack; sid:9323333; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /authenticate/login
title: pgadmin.org pgAdmin 4 exploit attempt (CVE-2025-13780)
id: gg-pocmon-cve-2025-13780-9795235
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-13780. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-13780
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/authenticate/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.13780
GET /browser/
title: pgadmin.org pgAdmin 4 exploit attempt (CVE-2025-13780)
id: gg-pocmon-cve-2025-13780-9152477
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-13780. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-13780
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/browser/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.13780
GET /browser/database/nodes/{var}/
title: pgadmin.org pgAdmin 4 exploit attempt (CVE-2025-13780)
id: gg-pocmon-cve-2025-13780-9232597
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-13780. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-13780
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/browser/database/nodes/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.13780
GET /browser/server/nodes/{var}/
title: pgadmin.org pgAdmin 4 exploit attempt (CVE-2025-13780)
id: gg-pocmon-cve-2025-13780-9728023
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-13780. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-13780
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/browser/server/nodes/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.13780
GET /browser/server_group/nodes/
title: pgadmin.org pgAdmin 4 exploit attempt (CVE-2025-13780)
id: gg-pocmon-cve-2025-13780-9323333
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-13780. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-13780
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/browser/server_group/nodes/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.13780