CVE-2026-7813: pgAdmin 4 server mode has an authorization vulnerability affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules
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.
Published May 11, 2026 · Updated May 18, 2026
Affected packages
pgadmin4
- Ecosystem
- PyPI
- Affected
- < 9.15
- Fixed in
- 9.15
- Check
pip show pgadmin4
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 (passexec_cmd, passfile, SSL keys), privilege escalation via writable passexec_cmd (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 (passexec_cmd, passexec_expiration, db_res, db_res_type) were writable by non-owners through the API, and additional fields (kerberos_conn, tags, post_connection_sql) lacked per-user persistence so non-owner edits mutated the owner's record.
Fix centralises access control via a new server_access module, scopes all user-owned models with a UserScopedMixin, returns HTTP 410 from connection_manager 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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2025-13780
pgadmin4 has a Meta-Command Filter Command Execution
critical9.1Dec 11, 2025CVE-2025-12762
pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode
critical9.1Nov 13, 2025CVE-2025-2945
pgAdmin 4 Vulnerable to Remote Code Execution
critical9.9Apr 3, 2025CVE-2025-2946
pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering
critical9.1Apr 3, 2025
