CVE-2025-12762
9.1pgAdmin · pgAdmin 4
A remote code execution vulnerability in pgAdmin 4 versions up to 9.9 allows authenticated attackers to execute arbitrary commands on the host server during PLAIN-format dump file restores.
Executive summary
A critical remote code execution vulnerability in pgAdmin 4 enables authenticated attackers to compromise the underlying server hosting the database management software.
Vulnerability
This vulnerability is a remote code execution flaw triggered during the restoration of PLAIN-format database dump files in server mode. It requires the attacker to have low-level authenticated access to the application to inject and execute arbitrary commands on the host system.
Business impact
The ability for an attacker to execute arbitrary commands on the server hosting pgAdmin represents a total compromise of the application environment. Given the CVSS score of 9.1, the risk of unauthorized data access, full system takeover, and potential lateral movement within the network is extreme. Organizations relying on this software for database management face significant threats to both data integrity and operational continuity.
Remediation
Immediate Action: Upgrade to pgAdmin 4 version 9.10 or later to apply the necessary security patches.
Proactive Monitoring: Review application logs for unusual command execution patterns or unauthorized restore attempts initiated by low-privileged user accounts.
Compensating Controls: Restrict access to the pgAdmin management interface to trusted administrative networks and implement strict file upload validation policies for database restore operations.
Exploitation status
Public Exploit Available: Yes, multiple public proofs-of-concept exist on GitHub.
Analyst recommendation
Due to the critical severity and the existence of public proof-of-concept code, immediate patching is required to secure the pgAdmin environment. Security teams should prioritize the update to version 9.10 and verify that no unauthorized command execution has occurred on servers currently running vulnerable versions.
More pgAdmin CVEs
History
- Disclosed CVE record published
- Published in the daily brief critical section
- Analyst report written
- Fix documented version 9.10 per OSV.dev