CVE-2026-7813 — Vulnerability in pgadmin4 — CVE Details
pgAdmin 4 server mode has an authorization vulnerability affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.65%). Schedule for your next planned update.
Does your project use an affected pgadmin4 version?
Paste your requirements.txt to check it for CVE-2026-7813 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published May 11, 2026 (199 days ago).
- Last revised November 16, 2026 — 189 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "pgadmin4>=9.15"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| pgadmin4 PyPI · Affected: 4.20, 4.22, 4.23, 4.24 (+73 more) | 9.15 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-7813ADVISORY
- https://github.com/pgadmin-org/pgadmin4/pull/9830WEB
- https://github.com/pgadmin-org/pgadmin4/pull/9835WEB
- https://github.com/pgadmin-org/pgadmin4PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-452.yamlWEB
- https://pypi.org/project/pgadmin4WEB
Frequently Asked Questions
- What is CVE-2026-7813?
- pgAdmin 4 server mode has an authorization vulnerability affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-7813?
- CVE-2026-7813 affects pgadmin4. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-7813 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 45.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2025-2946CRITICAL
pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering
- CVE-2025-13780CRITICAL
pgadmin4 has a Meta-Command Filter Command Execution
- CVE-2025-2945CRITICAL
pgAdmin 4 Vulnerable to Remote Code Execution
- CVE-2024-2044CRITICAL
pgAdmin 4 vulnerable to Unsafe Deserialization and Remote Code Execution by an Authenticated user
- CVE-2025-12762CRITICAL
pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2025-2945CRITICAL
pgAdmin 4 Vulnerable to Remote Code Execution
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)