CVE-2026-116248: pgAdmin 4: Non-administrators can share a server with every user

Published Oct 30, 2026
·
Updated

In pgAdmin 4 server mode only administrators are meant to share a server with all users; the server dialog shows the Shared switch only to them. The create and update endpoints of the server API, however, stored the "shared" flag and shared username they were sent, so any user able to register a server could share one with every other user. The servers.json import had a similar gap: a non-administrator's "Shared" entries were removed only after validation, so a file that also held an invalid entry could create a shared server.

A shared server carries no credentials, so this gives no direct access. It lets a user plant a server, named to look trusted, in every other user's tree and pointing at a host the user controls; anyone who then connects to it presents their own database password to that host.

The fix refuses a non-administrator's request that would share a server with HTTP 403, prunes a non-administrator's shared entries from a servers.json import before validating it, and warns at startup about servers shared earlier by non-administrators.

This issue affects pgAdmin 4: before 9.19.

Affected Software

2 affected components
pgAdmin pgAdmin 4<9.19
pgAdmin pgAdmin 4<9.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.19

Event History

Oct 30, 2026
CVE Published
via MITRE·07:55 PM
Data Sourced
via MITRE·07:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Nov 9, 2026
Data Sourced
via NVD·03:42 PM
RemedyAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

Any non-administrator who is allowed to register a server in pgAdmin 4 server mode can exploit it. Exploitation requires sending create or update API requests with sharing fields, or using a crafted servers.json import that includes shared entries alongside an invalid entry.

2

What must happen for credentials to be exposed?

The attacker cannot obtain credentials directly from the shared server entry because shared servers carry no credentials. Another user must see the attacker-controlled shared server and connect to it, at which point that user may submit their own database password to the attacker-controlled host.

3

Are default deployments affected?

The issue applies to pgAdmin 4 running in server mode where non-administrators can register servers. It affects versions before 9.19.

4

What can be done before upgrading?

Limit server-registration and servers.json import capabilities to trusted users, and review shared server entries for ones created by non-administrators or pointing to untrusted hosts. Users should avoid connecting to unexpected shared servers, particularly entries with trusted-looking names.

5

How can administrators identify possible prior abuse?

The fixed version warns at startup about servers that were shared earlier by non-administrators. Administrators can also review existing shared server entries for suspicious names or destinations, especially hosts controlled outside the organization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203