CVE-2026-7813: pgAdmin 4: Cross-user data access and shared-server privilege escalation in server mode

Published May 11, 2026
·
Updated

Authorization vulnerability in pgAdmin 4 server mode affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules.

Multiple endpoints fetched user-owned objects without filtering by the requesting user's identity. An authenticated user could access another user's private servers, server groups, background processes, and debugger function arguments by guessing object IDs.

Additionally, the Shared Servers feature contained multiple issues including credential leakage (passexeccmd, passfile, SSL keys), privilege escalation via writable passexeccmd (a shell command executed when establishing the connection) allowing arbitrary command execution in the owner's process context, and owner-data corruption via SQLAlchemy session mutations. Several owner-only fields (passexeccmd, passexecexpiration, dbres, dbrestype) were writable by non-owners through the API, and additional fields (kerberosconn, tags, postconnectionsql) lacked per-user persistence so non-owner edits mutated the owner's record.

Fix centralises access control via a new serveraccess module, scopes all user-owned models with a UserScopedMixin, returns HTTP 410 from connectionmanager when access is denied in server mode, suppresses owner-only fields for non-owners across the merge / API response / ServerManager paths, and adds an explicit owner-only write guard. The remediation landed in two pull requests; both are referenced.

This issue affects pgAdmin 4: before 9.15.

Affected Software

2 affected components
pgAdmin pgAdmin 4<9.15
pgAdmin Pgadmin 4 Postgresql<9.15

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pgAdmin 4 to a version that resolves this vulnerability.

    Fixed in 9.15
  2. Configuration

    Apply the remediation so centralized access control is enforced using the new server_access module and all user-owned models are scoped with UserScopedMixin to prevent cross-user object access (Server Groups, Servers, Shared Servers, Background Processes, Debugger).

    pgAdmin 4 server mode server_access / UserScopedMixin = enabled (centralized access control with UserScopedMixin for user-owned models)
  3. Configuration

    Configure merge/API/ServerManager paths to suppress owner-only fields (passexec_cmd, passexec_expiration, db_res, db_res_type) for non-owners, and prevent non-owners from modifying owner-only fields via the API.

    pgAdmin 4 server mode API/response owner-only fields visibility = suppressed for non-owners
  4. Configuration

    Add and enforce an explicit owner-only write guard so non-owners cannot update owner-only/writable fields and cannot mutate the owner's records (including passexec_cmd writable-by-non-owner privilege escalation and SQLAlchemy session mutation).

    pgAdmin 4 server mode explicit owner-only write guard = enforced
  5. Configuration

    Apply per-user persistence so non-owner edits cannot mutate the owner record for additional fields including kerberos_conn, tags, and post_connection_sql (owner-scoped write/merge behavior).

    pgAdmin 4 server mode per-user persistence for fields = owner-scoped persistence added
  6. Compensating control

    Ensure server mode access is denied by returning HTTP 410 from connection_manager when access is denied (as implemented via the new server_access module).

Event History

May 11, 2026
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 23, 58372
Event
via FIRST·05:24 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-7813?

CVE-2026-7813 is classified as a high severity vulnerability due to its potential for cross-user data access and privilege escalation.

2

How does CVE-2026-7813 affect pgAdmin 4?

CVE-2026-7813 allows unauthorized access to user-owned objects by bypassing filtering mechanisms in various modules of pgAdmin 4.

3

How do I fix CVE-2026-7813?

To mitigate CVE-2026-7813, upgrade pgAdmin 4 to version 9.15 or later to ensure proper authorization and access controls.

4

What components of pgAdmin 4 are impacted by CVE-2026-7813?

CVE-2026-7813 affects Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules in pgAdmin 4.

5

Is there a workaround for CVE-2026-7813 until I can update?

There are no documented workarounds for CVE-2026-7813; the only recommended action is to apply the latest updates as soon as possible.

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