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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <= 9.10
Mitigation
Upgrade pgadmin4 to 9.11 or later.
Timeline
Days relative to CVE publicationFirst 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
Below the suspicion threshold (50); does not change the assessment. |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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 reposPOST /authenticate/login
- Key headers
Accept: application/jsonReferer: {var}/login?next=/- Body markers
email=password=csrf_token=email=exploit@example.compassword=ExploitPass!23inapplication/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/
- Ports
- 5050
- Seen in
- 1 repo: ThemeHackers/CVE-2025-13780
- Evidence
- ThemeHackers/CVE-2025-13780/scanner.py:366 ThemeHackers/CVE-2025-13780/scanner.py:446
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 /login
- Query
next=/- Ports
- 5050
- Seen in
- 1 repo: meenakshisl/PoC-CVE-2025-13780
- Evidence
- meenakshisl/PoC-CVE-2025-13780/scripts/ui_restore_exploit.py:23
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.compassword=ExploitPass!23csrf_token=inapplication/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"inapplication/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=inapplication/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.
(?i)^/authenticate/login(?:[?#].*)?$
(?i)^/browser/(?:[?#].*)?$
(?i)^/browser/database/nodes/[^/?#]*/(?:[?#].*)?$
(?i)^/browser/server/nodes/[^/?#]*/(?:[?#].*)?$
(?i)^/browser/server_group/nodes/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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;)
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;)
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;)
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.
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
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
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
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
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