Pgadmin 4 vulnerabilities
20 known vulnerabilities affecting pgadmin/pgadmin_4.
Total CVEs
20
CISA KEV
0
Public exploits
3
Exploited in wild
0
Severity breakdown
CRITICAL3HIGH9MEDIUM8
Vulnerabilities
Page 1 of 1
CVE-2026-1707MEDIUMCVSS 6.3v9.112026-02-05
CVE-2026-1707 [MEDIUM] CWE-284 CVE-2026-1707: pgAdmin versions 9.11 are affected by a Restore restriction bypass via key disclosure vulnerability
pgAdmin versions 9.11 are affected by a Restore restriction bypass via key disclosure vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. An attacker with access to the pgAdmin web interface can observe an active restore operation, extract the `\restrict` key in real time, and race the restore pro
nvd
CVE-2025-13780HIGHCVSS 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-2025-12762CRITICALCVSS 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-2025-12765HIGHCVSS 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-2025-12764HIGHCVSS 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-12763HIGHCVSS 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-2025-9636HIGHCVSS 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-2025-2945HIGHCVSS 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 arb
nvd
CVE-2025-2946MEDIUMCVSS 6.1≤ 9.12025-04-03
CVE-2025-2946 [MEDIUM] CWE-79 CVE-2025-2946: pgAdmin <= 9.1 is affected by a security vulnerability with Cross-Site Scripting(XSS). If attackers
pgAdmin <= 9.1 is affected by a security vulnerability with Cross-Site Scripting(XSS). If attackers execute any arbitrary HTML/JavaScript in a user's browser through query result rendering, then HTML/JavaScript runs on the browser.
nvd
CVE-2024-9014MEDIUMCVSS 6.5PoCfixed 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-6238MEDIUMCVSS 5.3fixed in 8.92024-06-25
CVE-2024-6238 [MEDIUM] CWE-276 CVE-2024-6238: pgAdmin <= 8.8 has an installation Directory permission issue. Because of this issue, attackers can
pgAdmin <= 8.8 has an installation Directory permission issue. Because of this issue, attackers can gain unauthorised access to the installation directory on the Debian or RHEL 8 platforms.
nvd
CVE-2024-4215HIGHCVSS 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-2024-4216MEDIUMCVSS 5.4fixed in 8.62024-05-02
CVE-2024-4216 [MEDIUM] CWE-79 CVE-2024-4216: pgAdmin <= 8.5 is affected by XSS vulnerability in /settings/store API response json payload. This v
pgAdmin <= 8.5 is affected by XSS vulnerability in /settings/store API response json payload. This vulnerability allows attackers to execute malicious script at the client end.
nvd
CVE-2024-3116CRITICALCVSS 9.8≤ 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-2024-2044CRITICALCVSS 9.9fixed 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-2023-5002HIGHCVSS 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-2023-0241MEDIUMCVSS 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.
cvelistv5nvd
CVE-2023-22298MEDIUMCVSS 6.1≥ 4.0, < 6.142023-01-17
CVE-2023-22298 [MEDIUM] CWE-601 CVE-2023-22298: Open redirect vulnerability in pgAdmin 4 versions prior to v6.14 allows a remote unauthenticated att
Open redirect vulnerability in pgAdmin 4 versions prior to v6.14 allows a remote unauthenticated attacker to redirect a user to an arbitrary web site and conduct a phishing attack by having a user to access a specially crafted URL.
nvd
CVE-2022-4223HIGHCVSS 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-2022-0959MEDIUMCVSS 6.5fixed in 6.7vpgadmin 6.72022-03-16
CVE-2022-0959 [MEDIUM] CWE-434 CVE-2022-0959: A malicious, but authorised and authenticated user can construct an HTTP request using their existin
A malicious, but authorised and authenticated user can construct an HTTP request using their existing CSRF token and session cookie to manually upload files to any location that the operating system user account under which pgAdmin is running has permission to write.
cvelistv5nvd