Tools

Manually upgrade PgAdmin4 to 9.10 in WHD

PgAdmin4 needs to be upgraded to address vulnerabilities.

First published date

5/8/2025 6:59 PM

Last published date

2/4/2026 12:50 AM

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

CVE-2025-2946

 

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:

NVD - CVE-2025-12762

NVD - CVE-2025-12764

NVD - CVE-2025-12765

Product section

Web Help Desk

Cause

CVE-2025-2945

CVE-2025-2946

NVD - CVE-2025-12762

NVD - CVE-2025-12764

NVD - CVE-2025-12765

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

  1. Open <webhelpdesk home dir >\pgsql13\pgAdmin 4\runtime\pgAdmin 4.exe and login with your WHD database credentials.
  2. Go to Tools > Import/Export Servers. The “Import/Export Server” window appears.
  3. Provide a file name to export server details. E.g. “whdserver_exported.json”
  4. Click Next > select the servers you want to export.
  5. Click Next > Finish. Server details will get exported in a file named whdserver_exported.json.

     

    Stop Web helpdesk, pgadmin 4 and PostgreSQL Service

    1. Close the pgadmin4 tool if it’s already running.
    2. Open the Webhelpdesk home directory from the Windows System.
    3. Find the whd_stop.bat file.
    4. Double-click on the whd_stop.bat script and stop the webhelpdesk app.

     

    Delete pgAdmin 4 Files and Folders

    1. Navigate to the installation directory of pgAdmin 4 (<webhelpdesk home directory>\pgsql13 \pgAdmin 4).
    2. Delete the pgAdmin 4 folder.
    3. 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

    1. Visit the pgAdmin4 download page. https://www.postgresql.org/ftp/pgadmin/pgadmin4/v9.10/windows/ 
      Download the latest version of pgAdmin4 v9.10.
    2. Run the installer and follow the on-screen instructions.

    Note: Install pgAdmin4 outside the Webhelpdesk home directory. 

    Configure pgAdmin4

    1. Open <pgAdmin 4 install dir>\runtime\pgAdmin 4.exe. Alternatively, search for pgadmin in the search bar and open it.
    2. Navigate to Tools > Import Servers and reconfigure your database connections using an earlier exported file.

     

    Start webhelpdesk Service

    1. Open the Webhelpdesk home directory.
    2. Find the whd_start.bat file.
    3. Double-click on the whd_start.bat script and start the webhelpdesk app.

     

    Verify the Installation

    1. Log in to pgAdmin4.
    2. Verify that your database connections are intact and function correctly.
    3. Navigate to Help > About pgAdmin 4 to confirm that the version of pgAdmin4 shows 9.10.