Tools
Manually upgrade PgAdmin4 to 9.10 in WHD
PgAdmin4 needs to be upgraded to address vulnerabilities.
First published date
Last published date
Overview
In April 2025, two vulnerabilities were identified in PgAdmin 4 versions prior to 9.2. An affected version is included in WHD 12.8.5, and needs to be upgraded manually.
For information on the vulnerabilities, see below:
CVE-2025-2945
In November 2025, three vulnerabilities were identified in PgAdmin 4 versions prior to 9.10. An affected version is included in WHD 12.8.8, and needs to be upgraded manually.
For information on the vulnerabilities, see below:
Product section
Cause
Resolution
Follow the steps below after upgrading to WHD 12.8.X.X installer.
You must have already backed up the WHD database while upgrading. If you don’t have the latest database backup, please back up your WHD database again.
Export pgAdmin4 server Details
- Open <webhelpdesk home dir >\pgsql13\pgAdmin 4\runtime\pgAdmin 4.exe and login with your WHD database credentials.
- Go to Tools > Import/Export Servers. The “Import/Export Server” window appears.
- Provide a file name to export server details. E.g. “whdserver_exported.json”
- Click Next > select the servers you want to export.
- Click Next > Finish. Server details will get exported in a file named whdserver_exported.json.
Stop Web helpdesk, pgadmin 4 and PostgreSQL Service
- Close the pgadmin4 tool if it’s already running.
- Open the Webhelpdesk home directory from the Windows System.
- Find the whd_stop.bat file.
- Double-click on the whd_stop.bat script and stop the webhelpdesk app.
Delete pgAdmin 4 Files and Folders
- Navigate to the installation directory of pgAdmin 4 (<webhelpdesk home directory>\pgsql13 \pgAdmin 4).
- Delete the pgAdmin 4 folder.
- Check the following locations and delete any remaining pgAdmin4 files or folders:
- C:\Users\[YourUsername]\AppData\Roaming\pgAdmin
- C:\Users\[YourUsername]\AppData\Roaming\pgAdmin 4
- C:\Users\[YourUsername]\AppData\Local\pgAdmin
Download and Install pgAdmin4
- Visit the pgAdmin4 download page. https://www.postgresql.org/ftp/pgadmin/pgadmin4/v9.10/windows/
Download the latest version of pgAdmin4 v9.10. - Run the installer and follow the on-screen instructions.
Note: Install pgAdmin4 outside the Webhelpdesk home directory.
Configure pgAdmin4
- Open <pgAdmin 4 install dir>\runtime\pgAdmin 4.exe. Alternatively, search for pgadmin in the search bar and open it.
- Navigate to Tools > Import Servers and reconfigure your database connections using an earlier exported file.
Start webhelpdesk Service
- Open the Webhelpdesk home directory.
- Find the whd_start.bat file.
- Double-click on the whd_start.bat script and start the webhelpdesk app.
Verify the Installation
- Log in to pgAdmin4.
- Verify that your database connections are intact and function correctly.
- Navigate to Help > About pgAdmin 4 to confirm that the version of pgAdmin4 shows 9.10.