---
title: "CVE-2026-7813: pgAdmin 4 server mode has an authorization vulnerability affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules"
url: https://erroneo.us/security/cve/CVE-2026-7813/
description: "CVE-2026-7813 (pgadmin4 (PyPI)): Authorization vulnerability in pgAdmin 4 server mode affecting Server Groups, Servers, Shared Servers, Background…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-11
date_modified: 2026-05-18
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-7813"
kev: false
cvss: 9.4
epss: 0.00651
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-7813: pgAdmin 4 server mode has an authorization vulnerability affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.7% , percentile 50: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 50% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes pgadmin4 (PyPI) < 9.15, fixed in 9.15 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- PyPI `pgadmin4` < 9.15 → fixed: 9.15

## Affected products (CVE record)

- pgadmin.org pgAdmin 4: < 9.15

## Severity

- PostgreSQL CVSS 3.1: 9.9 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- PostgreSQL CVSS 4.0: 9.4 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub CVSS 4.0: 9.4 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.65% probability of exploitation activity in the next 30 days; percentile 50.

## Sources

- [github.com](https://github.com/pgadmin-org/pgadmin4/pull/9830)
- [github.com](https://github.com/pgadmin-org/pgadmin4/pull/9835)
- [GitHub Advisory GHSA-h2x2-q2mc-24gw](https://github.com/advisories/GHSA-h2x2-q2mc-24gw)
- [CVE.org record CVE-2026-7813](https://www.cve.org/CVERecord?id=CVE-2026-7813)
- [NVD entry CVE-2026-7813](https://nvd.nist.gov/vuln/detail/CVE-2026-7813)

---
Source page: https://erroneo.us/security/cve/CVE-2026-7813/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
