Pgadmin 4 vulnerabilities
32 known vulnerabilities affecting pgadmin/pgadmin_4.
Total CVEs
32
CISA KEV
0
Public exploits
5
Exploited in wild
1
Severity breakdown
CRITICAL4HIGH14MEDIUM14
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.8PoC≤ 8.42024-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-2022-4223P2HIGHCVSS 8.8PoCfixed in 6.172022-12-13
CVE-2022-4223 [HIGH] CWE-94 CVE-2022-4223: The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user sele
The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. The utility is executed by the server to determine what PostgreSQL version it is from. Versions of pgAdmin prior to 6.17 failed to properly secure this API, which could allow an unauthent
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.8fixed in 9.102025-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-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-2023-5002P2HIGHCVSS 8.8fixed in 7.72023-09-22
CVE-2023-5002 [HIGH] CWE-78 CVE-2023-5002: A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a
A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. Versions of pgAdmin prior to 7.6 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.
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-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-2025-12763P3HIGHCVSS 8.8fixed in 9.102025-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.9≤ 9.72025-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
CVE-2023-0241P3MEDIUMCVSS 6.5fixed in 6.19vpgadmin 6.192023-03-27
CVE-2023-0241 [MEDIUM] CWE-22 CVE-2023-0241: pgAdmin 4 versions prior to v6.19 contains a directory traversal vulnerability. A user of the produc
pgAdmin 4 versions prior to v6.19 contains a directory traversal vulnerability. A user of the product may change another user's settings or alter the database.
nvd
1 / 2Next →