Pgadmin.Org Pgadmin 4 vulnerabilities
30 known vulnerabilities affecting pgadmin.org/pgadmin_4.
Total CVEs
30
CISA KEV
0
Public exploits
4
Exploited in wild
1
Severity breakdown
CRITICAL6HIGH13MEDIUM11
Vulnerabilities
Page 1 of 2
CVE-2024-9014P2MEDIUMCVSS 6.5ExploitedPoCfixed in 8.122024-09-23
CVE-2024-9014 [MEDIUM] CWE-522 CVE-2024-9014: pgAdmin versions 8.11 and earlier are vulnerable to a security flaw in OAuth2 authentication. This v
pgAdmin versions 8.11 and earlier are vulnerable to a security flaw in OAuth2 authentication. This vulnerability allows an attacker to potentially obtain the client ID and secret, leading to unauthorized access to user data.
nvd
CVE-2024-2044P1CRITICALCVSS 9.9PoCfixed in 8.42024-03-07
CVE-2024-2044 [CRITICAL] CWE-31 CVE-2024-2044: pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in
pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling code. If the server is running on Windows, an unauthenticated attacker can load and deserialize remote pickle objects and gain code execution. If the server is running on POSIX/Linux, an authenticated attacker can upload pickle obje
nvd
CVE-2024-3116P1CRITICALCVSS 9.8PoCfixed in 8.52024-04-04
CVE-2024-3116 [CRITICAL] CWE-77 CVE-2024-3116: pgAdmin <= 8.4 is affected by a Remote Code Execution (RCE) vulnerability through the validate bina
pgAdmin <= 8.4 is affected by a Remote Code Execution (RCE) vulnerability through the validate binary path API. This vulnerability allows attackers to execute arbitrary code on the server hosting PGAdmin, posing a severe risk to the database management system's integrity and the security of the underlying data.
nvd
CVE-2025-2945P2HIGHCVSS 8.8PoCfixed in 9.22025-04-03
CVE-2025-2945 [HIGH] CWE-94 CVE-2025-2945: Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules)
Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules).
The vulnerability is associated with the 2 POST endpoints; /sqleditor/query_tool/download, where the query_commited parameter and /cloud/deploy endpoint, where the high_availability parameter is unsafely passed to the Python eval() function, allowing arbi
nvd
CVE-2025-12762P2CRITICALCVSS 9.8≤ 9.92025-11-13
CVE-2025-12762 [CRITICAL] CWE-94 CVE-2025-12762: pgAdmin versions up to 9.9 are affected by a Remote Code Execution (RCE) vulnerability that occurs w
pgAdmin versions up to 9.9 are affected by a Remote Code Execution (RCE) vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. This issue allows attackers to inject and execute arbitrary commands on the server hosting pgAdmin, posing a critical risk to the integrity and security of the database
nvd
CVE-2026-7813P2CRITICALCVSS 9.9fixed in 9.152026-05-11
CVE-2026-7813 [CRITICAL] CWE-284 CVE-2026-7813: Authorization vulnerability in pgAdmin 4 server mode affecting Server Groups, Servers, Shared Server
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,
nvd
CVE-2025-13780P2HIGHCVSS 8.8≤ 9.102025-12-11
CVE-2025-13780 [HIGH] CWE-94 CVE-2025-13780: pgAdmin versions up to 9.10 are affected by a Remote Code Execution (RCE) vulnerability that occurs
pgAdmin versions up to 9.10 are affected by a Remote Code Execution (RCE) vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. This issue allows attackers to inject and execute arbitrary commands on the server hosting pgAdmin, posing a critical risk to the integrity and security of the database mana
nvd
CVE-2026-12046P2CRITICALCVSS 9.0≥ 6.9, < 9.162026-06-19
CVE-2026-12046 [CRITICAL] CWE-306 CVE-2026-12046: Two state-mutating endpoints in pgAdmin 4's SQL Editor blueprint -- DELETE /sqleditor/close/<trans_i
Two state-mutating endpoints in pgAdmin 4's SQL Editor blueprint -- DELETE /sqleditor/close/ and POST /sqleditor/initialize/sqleditor/update_connection/// -- were the only routes in the module missing the @pga_login_required decorator. Both reach a pickle.loads sink on session['gridData'][]['command_obj']: the close endpoint via close_sqleditor_se
nvd
CVE-2026-7816P2HIGHCVSS 8.8≥ 9.4, < 9.152026-05-11
CVE-2026-7816 [HIGH] CWE-78 CVE-2026-7816: OS command injection (CWE-78) vulnerability in pgAdmin 4 Import/Export query export. User-supplied
OS command injection (CWE-78) vulnerability in pgAdmin 4 Import/Export query export.
User-supplied input was interpolated directly into a psql \copy metacommand template without sanitization. An authenticated user could inject ") TO PROGRAM 'cmd'" to break out of the \copy (...) context and achieve arbitrary command execution on the pgAdmin server, or ")
nvd
CVE-2026-7815P2HIGHCVSS 8.8≥ 7.6, < 9.152026-05-11
CVE-2026-7815 [HIGH] CWE-89 CVE-2026-7815: SQL injection vulnerability in pgAdmin 4 Maintenance Tool. Four user-supplied JSON fields (buffer_u
SQL injection vulnerability in pgAdmin 4 Maintenance Tool.
Four user-supplied JSON fields (buffer_usage_limit, vacuum_parallel, vacuum_index_cleanup, reindex_tablespace) were concatenated directly into the rendered VACUUM/ANALYZE/REINDEX command and passed to psql --command. An authenticated user with the tools_maintenance permission could break out of t
nvd
CVE-2026-12044P3HIGHCVSS 8.8≥ 1.0, < 9.162026-06-19
CVE-2026-12044 [HIGH] CWE-89 CVE-2026-12044: SQL injection in pgAdmin 4 across every dialog template that renders ``COMMENT ON ... IS '<descripti
SQL injection in pgAdmin 4 across every dialog template that renders ``COMMENT ON ... IS ''`` for a user-supplied description field. The Jinja templates for Domains (and their constraints), Foreign Tables, Languages, and Event Triggers, plus the Views OID-lookup query, interpolated the description directly inside a single-quoted SQL literal -- ``'{{ da
nvd
CVE-2026-12050P3HIGHCVSS 8.8≥ 1.0, < 9.162026-06-19
CVE-2026-12050 [HIGH] CWE-89 CVE-2026-12050: SQL injection in pgAdmin 4's named restore point endpoint (POST /browser/server/restore_point/{gid}/
SQL injection in pgAdmin 4's named restore point endpoint (POST /browser/server/restore_point/{gid}/{sid}). The user-supplied 'value' field was interpolated directly into the SQL string with str.format() instead of being passed as a bound parameter, allowing an authenticated pgAdmin user with a connected PostgreSQL session to inject additional statemen
nvd
CVE-2026-12045P3CRITICALCVSS 9.0≥ 9.13, < 9.162026-06-19
CVE-2026-12045 [CRITICAL] CWE-77 CVE-2026-12045: Read-only transaction bypass in the pgAdmin 4 AI Assistant allows an attacker who can influence data
Read-only transaction bypass in the pgAdmin 4 AI Assistant allows an attacker who can influence database content that the assistant reads to execute arbitrary SQL with the privileges of the pgAdmin user's database role.
The AI Assistant's execute_sql_query tool runs LLM-generated SQL inside a BEGIN TRANSACTION READ ONLY wrapper to prevent data mod
nvd
CVE-2025-12763P3HIGHCVSS 8.8≤ 9.92025-11-13
CVE-2025-12763 [HIGH] CWE-78 CVE-2025-12763: pgAdmin 4 versions up to 9.9 are affected by a command injection vulnerability on Windows systems. T
pgAdmin 4 versions up to 9.9 are affected by a command injection vulnerability on Windows systems. This issue is caused by the use of shell=True during backup and restore operations, enabling attackers to execute arbitrary system commands by providing specially crafted file path input.
nvd
CVE-2024-4215P3HIGHCVSS 8.8fixed in 8.62024-05-02
CVE-2024-4215 [HIGH] CWE-89 CVE-2024-4215: pgAdmin <= 8.5 is affected by a multi-factor authentication bypass vulnerability. This vulnerability
pgAdmin <= 8.5 is affected by a multi-factor authentication bypass vulnerability. This vulnerability allows an attacker with knowledge of a legitimate account’s username and password may authenticate to the application and perform sensitive actions within the application, such as managing files and executing SQL queries, regardless of the account’s MFA e
nvd
CVE-2026-7819P3HIGHCVSS 8.1fixed in 9.152026-05-11
CVE-2026-7819 [HIGH] CWE-61 CVE-2026-7819: Symbolic-link path traversal (CWE-61, CWE-22) in pgAdmin 4 File Manager. check_access_permission us
Symbolic-link path traversal (CWE-61, CWE-22) in pgAdmin 4 File Manager.
check_access_permission used os.path.abspath, which resolves '..' but does not resolve symbolic links, while the subsequent kernel write follows symlinks. An authenticated user could plant a symbolic link inside their own storage directory pointing outside it and induce pgAdmin to w
nvd
CVE-2025-12765P3HIGHCVSS 7.4fixed in 9.102025-11-13
CVE-2025-12765 [HIGH] CWE-295 CVE-2025-12765: pgAdmin <= 9.9 is affected by a vulnerability in the LDAP authentication mechanism allows bypassing
pgAdmin <= 9.9 is affected by a vulnerability in the LDAP authentication mechanism allows bypassing TLS certificate verification.
nvd
CVE-2026-7818P3HIGHCVSS 7.8fixed in 9.152026-05-11
CVE-2026-7818 [HIGH] CWE-502 CVE-2026-7818: Deserialization of untrusted data (CWE-502) in pgAdmin 4 FileBackedSessionManager. The session mana
Deserialization of untrusted data (CWE-502) in pgAdmin 4 FileBackedSessionManager.
The session manager performed unsafe deserialization of session-file contents (using Python's standard object-serialization module) before performing any HMAC integrity check. Any file dropped into the sessions directory was deserialized unconditionally. An authenticated
nvd
CVE-2025-12764P3HIGHCVSS 7.5fixed in 9.102025-11-13
CVE-2025-12764 [HIGH] CWE-90 CVE-2025-12764: pgAdmin <= 9.9 is affected by an LDAP injection vulnerability in the LDAP authentication flow that
pgAdmin <= 9.9 is affected by an LDAP injection vulnerability in the LDAP authentication flow that allows an attacker to inject special LDAP characters in the username, causing the DC/LDAP server and the client to process an unusual amount of data DOS.
nvd
CVE-2025-9636P3HIGHCVSS 7.9fixed in 9.82025-09-04
CVE-2025-9636 [HIGH] CWE-346 CVE-2025-9636: pgAdmin <= 9.7 is affected by a Cross-Origin Opener Policy (COOP) vulnerability. This vulnerability
pgAdmin <= 9.7 is affected by a Cross-Origin Opener Policy (COOP) vulnerability. This vulnerability allows an attacker to manipulate the OAuth flow, potentially leading to unauthorised account access, account takeover, data breaches, and privilege escalation.
nvd
1 / 2Next →