CVE-2026-7813: Cross-user access and Shared Server command execution in pgAdmin 4
- Vendor
- Pgadmin
CVE-2026-7813 is an authorization vulnerability affecting pgAdmin 4 before version 9.15 in server mode. Multiple endpoints in the Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules retrieve user-owned objects without restricting queries to the requesting user's identity. Authenticated users can enumerate sequential object IDs to access other users' private objects. Shared Servers additionally expose sensitive connection settings and permit non-owners to modify owner-only fields. In particular, unauthorized changes to passexec_cmd, a shell command used to retrieve passwords when establishing database connections, enable arbitrary command execution in the owner's process context when the owner next connects. Missing per-user persistence and SQLAlchemy session mutations also allow non-owner edits to alter the owner's configuration.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An authenticated attacker can breach user isolation to access private server definitions, server groups, background processes, debugger function arguments, and sensitive connection information, including password-command configuration, password-file data, and SSL-related secrets. Unauthorized Shared Server modifications can corrupt owner configuration and data. Modification of passexec_cmd can escalate the attack to arbitrary shell command execution in the owner's process context upon a subsequent owner connection. Desktop mode is not affected by the cross-user access aspects.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, reduce exposure by avoiding or disabling multi-user server-mode deployments where feasible, especially the Shared Servers feature. Restrict pgAdmin access to trusted administrators and tightly limit the set of authenticated users. Monitor for anomalous access to server, server-group, background-process, and debugger-related objects, and review configuration changes to shared server definitions for unauthorized edits. Treat potentially exposed database credentials, passfile-equivalent secrets, and SSL-related connection material as compromised and rotate them as appropriate. Where operationally possible, segregate tenants or users into separate pgAdmin instances to eliminate cross-user object exposure paths until the fixed release is deployed.
Remediation
Patch, then assume compromise.
Upgrade pgAdmin 4 to version 9.15 or later. Version 9.15 includes both parts of the fix: centralized ownership checks, user-scoped queries through UserScopedMixin, connection-manager access enforcement returning HTTP 410 for unauthorized server-mode access, suppression of owner-only fields from non-owner processing and responses, explicit owner-only write guards, and SharedServer model changes supporting per-user settings.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-7813 exploited in the wild?
- As of Nov 17, 2026, Mallory has no reports of CVE-2026-7813 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-7813?
- Yes. As of Nov 17, 2026, Mallory has reports of a public exploit for CVE-2026-7813.
- Is there a patch for CVE-2026-7813?
- Upgrade pgAdmin 4 to version 9.15 or later. Version 9.15 includes both parts of the fix: centralized ownership checks, user-scoped queries through UserScopedMixin, connection-manager access enforcement returning HTTP 410 for unauthorized server-mode access, suppression of owner-only fields from non-owner processing and responses, explicit owner-only write guards, and SharedServer model changes supporting per-user settings.
- What products are affected by CVE-2026-7813?
- Pgadmin 4.
- How severe is CVE-2026-7813?
- CVE-2026-7813 has a CVSS v4 score of 9.4 (Critical) and an EPSS score of 0.46% (40th percentile) as of Nov 17, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.