PatchSiren

pgadmin.org CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116250

CVE-2026-116250 is a high-severity vulnerability in pgAdmin 4, a popular open-source administration and management tool for PostgreSQL databases. The issue arises from the way pgAdmin handles file paths in its storage directory, allowing an attacker to potentially read, write, or overwrite files outside the intended directory by exploiting a race condition with symbolic or hard links. This could lead to unauthorized data access or modification, as well as potential elevation of privileges. The vulnerability affects pgAdmin 4 versions before 9.19.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116249

CVE-2026-116249 is a high-severity vulnerability in pgAdmin 4, a popular PostgreSQL administration tool. The issue allows an attacker to access sensitive files, including password files, SSL certificates, and SSH keys, by manipulating the server configuration. This can lead to unauthorized access to sensitive data and potentially allow an attacker to use the victim's saved passwords, client certificate, or SSH key.

MEDIUM pgadmin.org CVE published 2026-10-30

CVE-2026-116248

CVE-2026-116248 is a vulnerability in pgAdmin 4 that allows non-administrators to share servers with all users, potentially leading to phishing attacks. The issue affects pgAdmin 4 versions before 9.19. This vulnerability arises from the create and update endpoints of the server API storing the 'shared' flag and shared username, allowing non-administrators to share servers with all users. The servers.json import also had a similar gap, which could create a shared server. A shared server carries no credentials, but it lets a user plant a server, named to look trusted, in every other user's tree and pointing at a host the user controls; anyone who then connects to it presents their

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116247

CVE-2026-116247 is a vulnerability in pgAdmin 4 that allows unauthorized access to servers when certain configurations are not set or cannot be found. The issue arises when a server in pgAdmin 4 has no password file, client certificate, or client key configured, or if the configured ones cannot be found. In such cases, pgAdmin leaves the parameter out of the connection, and libpq falls back to the defaults of the operating-system account running pgAdmin. This could allow any user to connect to a server with the service account's saved passwords or client certificate, requiring only a copy of its public certificate to pair with the service account's private key. The vulnerability affects pgAdmin 4 versions before 9.19.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116246

CVE-2026-116246 is a high-severity vulnerability affecting pgAdmin 4 versions before 9.19. The issue allows a user's saved password to be inherited by another user's PSQL session or utility, potentially leading to unauthorized access. The vulnerability is caused by pgAdmin writing the server's password into its own process environment, which is shared among all users and processes. The fix ensures the password is only placed into the environment of the process that needs it.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116244

A Kerberos authentication issue in pgAdmin 4 allows any user to connect as the service account's Kerberos principal. This AI-assisted PatchSiren debrief is based on the supplied source corpus. The CVE record was published on 2026-10-30T20:17:04.327Z and has not been modified since then. The issue arises when a pgAdmin 4 connection is not meant to use a Kerberos user's delegated credentials, but pgAdmin removed KRB5CCNAME from its environment, causing the Kerberos library to fall back to the default credential cache or a client keytab of the operating-system account running pgAdmin.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116243

A vulnerability in pgAdmin 4 allows an attacker to execute arbitrary code by manipulating the binary path in server mode. The issue arises from the fact that pgAdmin runs pg_dump, pg_restore, pg_dumpall, and psql from a user-set binary path without properly validating it. An attacker can upload an executable file to the shared storage directory, set the binary path to point to it, and have pgAdmin run it as the operating-system account running pgAdmin. This is particularly exploitable on Windows server mode.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116242

CVE-2026-116242 is a vulnerability in pgAdmin 4 that allows users to configure SSH tunnels to hosts that accept the service account's key, potentially leading to unauthorized access. The issue affects pgAdmin 4 versions before 9.19. This vulnerability arises from pgAdmin 4 opening SSH tunnels with the sshtunnel library without properly configuring it, allowing users to use the service account's keys and configuration. The fix makes tunnels in server mode use only the identity file or password configured by the user, ensuring that the service account's keys, configuration, and agent are no longer used. This change prevents users from accessing hosts that accept the service account's

CRITICAL pgadmin.org CVE published 2026-10-30

CVE-2026-116241

CVE-2026-116241 is a critical vulnerability in pgAdmin 4's Import/Export Data tool, allowing an ordinary database role to execute arbitrary commands on the pgAdmin host. The issue arises from the tool's failure to properly validate user input, enabling an attacker to bypass the fix for CVE-2026-17566. This vulnerability affects pgAdmin 4 versions before 9.19.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116240

The CVE-2026-116240 path traversal vulnerability in pgAdmin 4 server mode allows users to access files outside their storage directory. This issue arises from inconsistent path handling between check_access_permission() and its callers. The vulnerability affects pgAdmin 4 versions before 9.19 and requires defenders to assess exposure, prioritize patching, and monitor for suspicious activity to prevent unauthorized file access and potential system compromise. The fix ensures consistent path handling and restricts access to sensitive files and directories.

HIGH pgadmin.org CVE published 2026-10-30

CVE-2026-116239

CVE-2026-116239 is an authentication bypass vulnerability in pgAdmin 4, allowing LDAP or Kerberos users to log in as internal accounts if usernames match. This issue affects pgAdmin 4 versions before 9.19 and requires valid credentials for an LDAP directory or Kerberos realm that pgAdmin is configured to use. The vulnerability arises from inadequate authentication checks, enabling an attacker to gain unauthorized access. Defenders should prioritize verifying exposure and applying patches.

CRITICAL pgadmin.org CVE published 2026-10-30

CVE-2026-116238

A critical vulnerability was discovered in pgAdmin 4, affecting versions before 9.19. This issue allows an unauthenticated attacker to bypass the login attempt limit, enabling unlimited password guesses against internal accounts, including the administrator's account, in the default configuration. The vulnerability arises from Flask-Security registering its own views next to pgAdmin's, allowing login submissions to its /login view without pgAdmin's failed login count or lock. This could lead to potential authentication bypass and unauthorized access. System administrators and security teams should assess their exposure and take immediate action to upgrade to version 9.19 or later.

HIGH pgadmin.org CVE published 2026-09-17

CVE-2026-86864

CVE-2026-86864 debrief: pgAdmin 4's Backup tool vulnerability allows arbitrary file creation and connection-string injection, impacting users with the tools_backup permission. The vulnerability arises from improper handling of the 'database' field in the Backup tool, which can lead to privilege escalation and credential exposure. System administrators and users with this permission should assess exposure and take action to patch or limit permissions. The fix involves stopping the passing of the database name through the argument vector and instead supplying it in the PGDATABASE environment variable.

CRITICAL pgadmin.org CVE published 2026-09-17

CVE-2026-86863

CVE-2026-86863 is a critical vulnerability in pgAdmin 4's Webserver authentication source. An attacker can authenticate as any username, including an existing Administrator, without presenting a password or any other credential, by supplying a crafted HTTP header. This issue affects pgAdmin 4 versions from 6.2 before 9.18. The vulnerability allows for authentication bypass, potentially leading to unauthorized access to pgAdmin 4 instances, lateral movement within the network, and possible data breaches or modifications. System administrators and security teams should assess exposure and implement compensating controls if necessary.

HIGH pgadmin.org CVE published 2026-09-17

CVE-2026-86862

CVE-2026-86862 debrief: pgAdmin 4's Restore and Maintenance tools are vulnerable to credential exposure and unauthorized connections. Authenticated users with tools_restore or tools_maintenance permissions can redirect database operations to arbitrary servers, potentially capturing decrypted database passwords. The vulnerability allows for the exposure of sensitive credentials and could lead to unauthorized data access or modifications. This issue affects pgAdmin 4 from the introduction of the --dbname argument in the Restore and Maintenance tools before version 9.18.

MEDIUM pgadmin.org CVE published 2026-09-17

CVE-2026-86861

CVE-2026-86861 is a vulnerability in pgAdmin 4's File Manager save_file endpoint. The endpoint validated the requested path but did not protect against a symbolic link attack, allowing an attacker to create or overwrite an arbitrary file as the operating-system account running pgAdmin. This issue affects pgAdmin 4 from the introduction of the containment check in the File Manager save path before 9.18.

CRITICAL pgadmin.org CVE published 2026-07-31

CVE-2026-17566

The CVE-2026-17566 vulnerability affects pgAdmin 4's Import/Export Data tool, allowing attackers to execute arbitrary commands via a logic bug in the _is_query_parens_balanced() checker. This critical vulnerability has a CVSS score of 9.4 and requires immediate attention. The bug incorrectly interprets backslash-escape semantics, enabling attackers to inject a TO PROGRAM clause that psql executes. The fix rejects any backslash inside a single-quoted string in the query, ensuring safer interpretation. pgAdmin 4 users, administrators, and security teams should be aware of this critical vulnerability and take immediate action to prevent potential exploitation. The vulnerability arises from the Import/Export Data tool's use of a Jinja template to build a psql command line. A hand-written parenthesis-balance checker, _is_query_parens_balanced(), validates user-supplied SQL queries but contains a logic bug. This bug allows an attacker to inject a TO PROGRAM clause that psql executes via popen() -- independent of a subsequent syntax error later on the same line.

CRITICAL pgadmin.org CVE published 2026-07-31

CVE-2026-17351

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-31T16:16:59.807Z and has not been modified since then. The NVD entry is currently Received. This critical vulnerability in pgAdmin 4 arises from a discrepancy between sqlparse's string-literal lexing and PostgreSQL's parser, allowing an attacker to smuggle a COMMIT statement within a query and bypass the fix for CVE-2026-12045. The issue is exacerbated by psycopg3's PrepareManager behavior with default settings. The fix involves setting conn.prepare_threshold = 0 on the dedicated read-only connection used by the AI Assistant tool. Developers and administrators using pgAdmin 4 versions between 9.13 and 9.16 should be aware of this critical vulnerability, which could lead to unauthorized data modifications and potential system compromise via indirect prompt-injection delivery. The vulnerability allows for a write/RCE bypass, highlighting the need for immediate attention and mitigation.

MEDIUM pgadmin.org CVE published 2026-07-31

CVE-2026-17350

The CVE-2026-17350 vulnerability affects pgAdmin 4 in SERVER mode, specifically the per-tool permission system which did not consistently enforce permission checks. This allowed authenticated users with explicit permission denials to bypass tool-level access controls. The issue was introduced in version 9.3 and fixed in version 9.17. Users should review and update their installations to mitigate this vulnerability. The vulnerability has a CVSS score of 5.3 and a severity of MEDIUM.

CRITICAL pgadmin.org CVE published 2026-07-31

CVE-2026-17349

The CVE-2026-17349 vulnerability affects pgAdmin 4, specifically the adhoc_connect_server feature introduced in version 9.0. This feature clones a server and copies sensitive information such as user_id, shared, shared_username, and stored credential fields. A non-owner can trigger an adhoc connect against another user's shared server, inheriting the source user's ownership and credentials. The fix ensures that the cloned adhoc record's ownership and stored credential fields belong to the calling user and are cleared before committing. This critical vulnerability allows a non-owner to gain unauthorized access to database credentials, potentially leading to significant data breaches or system compromise. To mitigate this vulnerability, users should immediately upgrade pgAdmin 4 to version 9.17 or later, restrict access to sensitive servers and credentials, monitor for suspicious activity related to adhoc connections, implement additional authentication and authorization checks for server connections, and review and update server configurations to prevent unauthorized access. The CVE record was published on 2026-07-31T16:16:59.480Z and has not been modified since then.

MEDIUM pgadmin.org CVE published 2026-07-31

CVE-2026-17348

The pgAdmin 4 application has a vulnerability in SERVER mode, where certain routes are not properly secured with the @pga_login_required decorator, allowing unauthenticated network clients to access sensitive data and perform actions without authentication. This vulnerability affects pgAdmin 4 in SERVER mode, particularly those who have not applied the patch. The patch adds the missing @pga_login_required decorator to each of the affected routes. The change is decorator-only; no behavioral changes to the underlying handlers. This issue affects pgAdmin 4 in SERVER mode: the Constraints and Debugger routes from 1.0, the Schema Diff close route from 4.18, and preferences.get_all_cli from 8.2, all before 9.17. To verify, defenders should review the patch notes and apply the patch to ensure that the @pga_login_required decorator is added to the affected routes. Affected operator, platform, vulnerability-management, and security-team impact should be carefully evaluated to ensure proper mitigation and remediation efforts are in place.

HIGH pgadmin.org CVE published 2026-07-31

CVE-2026-17347

The CVE-2026-17347 vulnerability affects pgAdmin 4 versions 7.2 to 9.17, allowing an authenticated user to execute arbitrary commands as the pgAdmin service account by providing a username with shell metacharacters. This issue arises from the previous implementation of the MASTER_PASSWORD_HOOK setting, which substituted the username directly into the command string and executed the result with subprocess.Popen(..., shell=True). The fix tokenizes the administrator-configured hook string into an argument vector, substitutes the untrusted username into individual argv elements, and executes with shell=False. To address this vulnerability, administrators should review and update the MASTER_PASSWORD_HOOK setting to ensure it uses the fixed tokenization and execution approach. Additionally, they should restrict the execution of arbitrary commands as the pgAdmin service account and monitor for potential exploitation attempts.

HIGH pgadmin.org CVE published 2026-07-31

CVE-2026-17346

The CVE-2026-17346 vulnerability in pgAdmin 4 arises from an incomplete fix for CVE-2026-12044, specifically in the qtLiteral hardening and template switching for COMMENT ON / pgstattuple / pgstatindex. The fix missed several sinks in test_sql_string_literal_lint.py's ALLOWLIST, including the Index Statistics query for all-indexes listing and publication and subscription dependencies.sql / get_position.sql templates. A low-privileged user can exploit this by creating a table, publication, or subscription with an apostrophe'd name, breaking the unescaped '{{ name }}' template interpolation when another user views the object's Statistics or Dependencies tab, leading to arbitrary SQL statement injection. This issue affects pgAdmin 4 versions before 9.17, with the Index Statistics sink affected from version 1.0 and the Publications/Subscriptions sinks from version 5.0. The vulnerability has a high severity with a CVSS score of 8.7, allowing a low-privileged user to inject arbitrary SQL statements in the viewing user's database session.

MEDIUM pgadmin.org CVE published 2026-06-19

CVE-2026-12050

CVE-2026-12050 is a SQL injection vulnerability in pgAdmin 4's named restore point endpoint. The issue allows an authenticated pgAdmin user with a connected PostgreSQL session to inject additional SQL statements. However, the injected SQL executes under the database role the user is already authenticated as, meaning the attacker gains no capability beyond what their database role already grants them.

MEDIUM pgadmin.org CVE published 2026-06-19

CVE-2026-12049

An open redirect vulnerability was found in pgAdmin 4's multi-factor authentication flow. The MFA validate and register endpoints honored the user-supplied 'next' query/form parameter without confirming the target pointed back inside pgAdmin. This could allow an authenticated victim who clicked a link typically delivered by phishing to be sent to an attacker-controlled host directly out of the trusted auth flow.

CRITICAL pgadmin.org CVE published 2026-06-19

CVE-2026-12048

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-06-19T00:16:47.200Z and has not been modified since then. The NVD entry is currently Analyzed. This stored cross-site scripting vulnerability in pgAdmin 4's error-rendering and plan-node-rendering paths allows an attacker to inject arbitrary HTML, potentially leading to phishing attacks. The vulnerability exists because text returned by a PostgreSQL server is passed verbatim through html-react-parser. The fix involves DOMPurify sanitisation, a new plain-text rendering contract, and backend HTML-escape.

MEDIUM pgadmin.org CVE published 2026-06-19

CVE-2026-12047

An HTML injection vulnerability was discovered in pgAdmin 4's cloud deployment module. The issue arises from the lack of HTML encoding in exception text from AWS, Azure, and Google SDKs, which is then rendered as HTML by the Cloud Wizard frontend. This allows an authenticated user to inject HTML, potentially leading to self-targeted attacks or, with additional cross-site request-forgery primitives, attacks against other authenticated users. The vulnerability exists in multiple endpoints under /rds/, /azure/, /google/, and the top-level /cloud/ blueprint.

CRITICAL pgadmin.org CVE published 2026-06-19

CVE-2026-12046

A critical vulnerability was discovered in pgAdmin 4's SQL Editor blueprint, specifically in the DELETE /sqleditor/close/<trans_id> and POST /sqleditor/initialize/sqleditor/update_connection/<sgid>/<sid>/<did> endpoints. These endpoints were missing the @pga_login_required decorator, making them accessible without authentication in server mode. This vulnerability, a missing-authentication-on-critical-function (CWE-306) wrapper around a deserialization-of-untrusted-data sink (CWE-502), could allow for remote code execution if an attacker possesses the Flask SECRET_KEY and has write access to pgAdmin's sessions/ directory. The defect is server-mode only and does not affect DESKTOP mode. The fix involves adding the @pga_login_required decorator to both endpoints.

CRITICAL pgadmin.org CVE published 2026-06-19

CVE-2026-12045

A critical vulnerability (CVE-2026-12045) in pgAdmin 4's AI Assistant allows an attacker with write privileges on the pgAdmin user's role to execute arbitrary SQL, potentially leading to remote code execution on the database server host. The issue arises from the AI Assistant's execute_sql_query tool, which fails to restrict multi-statement payloads, enabling an attacker to bypass read-only transactions. This vulnerability affects pgAdmin 4 versions from 9.13 before 9.16.

HIGH pgadmin.org CVE published 2026-06-19

CVE-2026-12044

CVE-2026-12044 is a SQL injection vulnerability in pgAdmin 4, a popular administration tool for PostgreSQL databases. The vulnerability affects versions from 1.0 before 9.16 and allows an authenticated user to inject arbitrary SQL code. The issue arises from the improper handling of user-supplied description fields in various dialog templates, including Domains, Foreign Tables, Languages, and Event Triggers. An attacker with permission to create or alter these objects can submit a malicious description containing an apostrophe, which can be used to break out of the literal and execute arbitrary SQL code. The injected SQL runs under the PostgreSQL role the user is already authenticated as, potentially leading to OS command execution if the role has elevated privileges.