{"id":78274,"date":"2026-05-11T19:47:37","date_gmt":"2026-05-11T16:17:37","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-7813-pgadmin-4-cross-user-data-access-and-shared-server-privilege-escalation-in-server-mode\/"},"modified":"2026-05-11T19:47:37","modified_gmt":"2026-05-11T16:17:37","slug":"cve-2026-7813-pgadmin-4-cross-user-data-access-and-shared-server-privilege-escalation-in-server-mode","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-7813-pgadmin-4-cross-user-data-access-and-shared-server-privilege-escalation-in-server-mode\/","title":{"rendered":"CVE-2026-7813 &#8211; pgAdmin 4: Cross-user data access and shared-server privilege escalation in server mode"},"content":{"rendered":"<p>CVE ID :CVE-2026-7813<\/p>\n<p>  Published : May 11, 2026, 4:17 p.m. | 41\u00a0minutes ago<\/p>\n<p>  Description :Authorization vulnerability in pgAdmin 4 server mode affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules.<\/p>\n<p>Multiple endpoints fetched user-owned objects without filtering by the requesting user&#8217;s identity. An authenticated user could access another user&#8217;s private servers, server groups, background processes, and debugger function arguments by guessing object IDs.<\/p>\n<p>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&#8217;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&#8217;s record.<\/p>\n<p>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.<\/p>\n<p>This issue affects pgAdmin 4: before 9.15.<\/p>\n<p>  Severity: 9.9 | CRITICAL<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-7813 Published : May 11, 2026, 4:17 p.m. | 41\u00a0minutes ago Description :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&#8217;s identity. An authenticated user could access another user&#8217;s private servers, server groups, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78274","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78274"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78274\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}