A severe remote code execution (RCE) vulnerability, designated as CVE-2025-12762, has been identified in pgAdmin4, affecting versions up to 9.9. This flaw allows attackers to execute arbitrary commands on the hosting server due to improper handling of code injection during server-mode restores from PLAIN-format dump files. It can be exploited by authenticated users with low privileges and requires only network access, classified as critical with a CVSS v3.1 score of 9.3 out of 10. The vulnerability is linked to unsafe command construction during the restore process, and pgAdmin developers have addressed it in version 10.0. Organizations are advised to upgrade to pgAdmin 10.0 or later, disable PLAIN-format restores, and audit access controls.