CVE-2026-116248

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

Published Oct 30, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability allows a non‑administrator to submit a create or update request for a server that marks it as shared with all users, even though the shared switch is only visible to administrators. Because this flag and the associated username are stored, any user can register a server that is then displayed in every other user’s tree, pointing to a host controlled by the attacker. Since the shared server holds no credentials, the attacker gains no direct access to the target database, but users who connect to the shared server expose their database passwords to the attacker’s host. This can lead to credential compromise and potential lateral movement within the organization’s database environment.

Affected Systems

pgAdmin 4 (vendor pgadmin.org) versions prior to 9.19. The affected components are the server mode API endpoints for creating and updating servers and the servers.json import functionality that processes shared server entries.

Risk and Exploitability

The CVSS score of 6 indicates medium severity. EPSS data is not available, and the vulnerability is not listed in CISA KEV, suggesting no known large‑scale exploits at the time of this analysis. However, the attack path requires only that an attacker has a non‑administrator account in pgAdmin 4; no additional technical expertise is needed beyond using the standard user interface or API. Because the flaw permits planting a trusted‑named server in every user’s view, the exploitation impact is wide, potentially affecting all users of an installation. The risk is therefore moderate to high, especially in environments with many users sharing a common pgAdmin instance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pgAdmin 4 to version 9.19 or later, where requests to share servers from non‑administrators are rejected with HTTP 403.
  • If an upgrade cannot be performed immediately, review existing servers.json files and delete any server entries marked as shared by non‑administrators before restarting the application.
  • Disable use of shared servers in server mode or restrict that mode to administrator accounts only, to prevent non‑administrators from adding servers that can be viewed by others.

Generated by OpenCVE AI on October 30, 2026 at 21:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pgadmin
Pgadmin pgadmin 4
Vendors & Products Pgadmin
Pgadmin pgadmin 4
Type Values Removed Values Added
Description 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.
Title pgAdmin 4: Non-administrators can share a server with every user
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Nov 6, 2026, 4:21 PM
Reserved
Oct 25, 2026, 4:26 PM
Status
Analyzed
Published
Oct 30, 2026, 8:17 PM
Modified
Nov 9, 2026, 3:42 PM