CVE-2025-13780

CRITICAL LAB

pgAdmin < 9.10 - Remote Code Execution via PLAIN-Format Dump File Restore

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 6 public exploits for CVE-2025-13780. PoCs published by zeropwn, cybersecplayground, ThemeHackers.

AI-analyzed exploit summary This PoC demonstrates a command execution vulnerability in pgAdmin4 < 9.11 due to a bypass in the meta-command filter when a SQL file begins with a UTF-8 BOM. The filter fails to detect meta-commands, allowing arbitrary command execution during a restore operation.

Description

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.

Exploits (6)

nomisec WORKING POC 14 stars
by zeropwn · poc
https://github.com/zeropwn/pgadmin4-9.10-CVE-2025-13780

This PoC demonstrates a command execution vulnerability in pgAdmin4 < 9.11 due to a bypass in the meta-command filter when a SQL file begins with a UTF-8 BOM. The filter fails to detect meta-commands, allowing arbitrary command execution during a restore operation.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: pgAdmin4 < 9.11
Auth required
Prerequisites: Access to pgAdmin4 restore functionality · Ability to upload a crafted SQL file
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WRITEUP 7 stars
by cybersecplayground · poc
https://github.com/cybersecplayground/PoC-and-CVE-Reports/tree/main/2025/CVE-2025-13780.md

The repository contains detailed technical writeups for multiple CVEs, including CVE-2025-13780, with root cause analysis, exploit details, and mitigation recommendations. No functional exploit code is present, but the analysis demonstrates a deep understanding of the vulnerabilities.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Various (e.g., account_mgr.cgi, Ivanti Connect Secure, Zabbix, Check Point VPN, Bricks Builder)
No auth needed
Prerequisites: Access to vulnerable endpoints · Basic understanding of HTTP requests and payload crafting
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec SCANNER 3 stars
by ThemeHackers · poc
https://github.com/ThemeHackers/CVE-2025-13780

This repository contains a scanner for CVE-2025-13780, a Remote Code Execution (RCE) vulnerability in pgAdmin 4 versions ≤ 8.14. The scanner checks for the presence of the vulnerability by testing regex bypass methods (UTF-8 BOM and CRLF injection) in the Restore feature.

Classification
Scanner 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: pgAdmin 4 ≤ 8.14
Auth required
Prerequisites: Access to pgAdmin 4 Restore endpoint · Valid credentials for authenticated scans
devstral-2 · analyzed Feb 16, 2026 Full analysis →
gitlab WORKING POC
by letchupkt · poc
https://gitlab.com/letchupkt/cve-2025-13780-pgadmin4-exploit

This repository contains a functional exploit for CVE-2025-13780, a UTF-8 BOM meta-command filter bypass vulnerability in PgAdmin4. The exploit includes both scanning and exploitation capabilities, leveraging a UTF-8 BOM prefix to bypass pgAdmin's meta-command detection and execute arbitrary shell commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PgAdmin4 < 9.11
Auth required
Prerequisites: Valid PgAdmin4 credentials · Access to PgAdmin4 restore functionality
devstral-2 · analyzed Feb 23, 2026 Full analysis →
gitlab WRITEUP
by ThemeHackers · poc
https://gitlab.com/ThemeHackers/CVE-2025-13780

This repository provides a detailed technical analysis of CVE-2025-13780, a critical RCE vulnerability in pgAdmin 4 due to insufficient regex validation in the restore functionality. It includes bypass methods (UTF-8 BOM and CRLF injection) and a scanner for detection.

Classification
Writeup 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: pgAdmin 4 ≤ 8.14
Auth required
Prerequisites: valid pgAdmin credentials · network access to pgAdmin web interface
devstral-2 · analyzed Feb 23, 2026 Full analysis →
nomisec WORKING POC
by meenakshisl · poc
https://github.com/meenakshisl/PoC-CVE-2025-13780

This PoC automates the exploitation of CVE-2025-13780 in pgAdmin by authenticating, connecting to a server, and triggering a vulnerable restore job. It checks for an indicator file to confirm successful exploitation.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: pgAdmin (version not specified)
Auth required
Prerequisites: Valid pgAdmin credentials · Access to the pgAdmin UI · Pre-configured server and database
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.1
EPSS 0.0010
EPSS Percentile 27.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-94
Status published
Products (2)
pgadmin/pgadmin_4 < 9.10
pypi/pgadmin4 0 - 9.11PyPI
Published Dec 11, 2025
Tracked Since Feb 18, 2026