p PatchFirst

PatchFirst · Latest vulnerabilities

pgadmin4 vulnerabilities

Vulnerabilities published for pgadmin4 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 28

  1. CVE-2026-7820

    Medium · CVSS 6.9EPSS 0.21%Fix available

    pgAdmin 4: Account-lockout bypass via Flask-Security default /login view

    Improper restriction of excessive authentication attempts (CWE-307) in pgAdmin 4. pgAdmin enforces MAX_LOGIN_ATTEMPTS only inside its custom /authenticate/login view. Flask-Security's default /login view, which is registered automatically by security.init_app() and is reachable on every server, never consulted the User.locked field: pgAdmin's User model relied on Flask-Security's UserMixin.is_locked() (which always returns 'not locked') and Flask-Login's is_active (which only checks the active column, not locked). An attacker who triggered an account lockout via /authenticate/login could therefore obtain a session by re-submitting valid cred

    • Update to 9.15
    Published Updated
  2. CVE-2026-7819

    High · CVSS 7.2EPSS 0.33%Fix available

    pgAdmin 4: Symbolic-link path traversal in File Manager allows arbitrary file write

    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 write to any path reachable by the pgAdmin process. Fix switches the access check to os.path.realpath for both source and destination, and adds an _open_upload_target helper that opens the target with O_NOFOLLOW (mode 0o600) to close the leaf-component TOCTOU between the access check and the

    • Update to 9.15
    Published Updated
  3. CVE-2026-7818

    High · CVSS 7.3EPSS 0.13%Fix available

    pgAdmin 4: Unsafe deserialization (CWE-502) in file-backed session manager leads to remote code execution

    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 user with write access to the sessions directory (whether by misconfiguration or in combination with another path-traversal flaw) could plant a crafted serialized payload to achieve operating-system level remote code execution under the pgAdmin process identity. Fix prepends a 64-byte hex SHA

    • Update to 9.15
    Published Updated
  4. CVE-2026-7817

    High · CVSS 7.1EPSS 0.22%Fix available

    pgAdmin 4: Local file inclusion and server-side request forgery in LLM API configuration endpoints

    Local file inclusion (LFI) and server-side request forgery (SSRF) vulnerabilities in pgAdmin 4 LLM API configuration endpoints. User-supplied api_key_file and api_url preferences were passed to the LLM provider clients without validation. An authenticated user could read arbitrary server-side files by pointing api_key_file at any path readable by the pgAdmin process, or coerce pgAdmin into making requests to internal targets (e.g. cloud metadata services such as 169.254.169.254) by setting api_url, exploiting the chat path and model-list endpoints. Fix restricts api_key_file to the user's private storage (server mode) or home directory (des

    • Update to 9.15
    Published Updated
  5. CVE-2026-7816

    High · CVSS 8.7EPSS 1.44%Fix available

    pgAdmin 4: OS command injection in Import/Export query export via psql metacommand breakout

    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 ") TO '/path'" for arbitrary file write. Additional fields (format, on_error, log_verbosity) were also raw-interpolated and exploitable. Fix adds a parens-balance parser modeled on psql's strtokx tokenizer, allow-lists format/on_error/log_verbosity, rejects null bytes in the query, and tighten

    • Update to 9.15
    Published Updated
  6. CVE-2026-7815

    High · CVSS 8.7EPSS 0.46%Fix available

    pgAdmin 4: SQL injection in Maintenance tool option values leading to remote code execution

    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 the option syntax and execute arbitrary SQL on the connected PostgreSQL server. The injected SQL could in turn invoke COPY ... TO PROGRAM to escalate to operating-system command execution on the database host. Fix introduces server-side allow-listing of all four fields and switches reindex_ta

    • Update to 9.15
    Published Updated
  7. CVE-2026-7814

    Medium · CVSS 4.8EPSS 0.16%Fix available

    pgAdmin 4: Stored XSS via crafted PostgreSQL object names in Browser Tree and Explain Visualizer

    Stored cross-site scripting (XSS) vulnerability in pgAdmin 4 Browser Tree and Explain Visualizer modules. User-controlled PostgreSQL object names (database, schema, table, column, etc.) were assigned to DOM elements via innerHTML, allowing crafted object names containing HTML markup to execute attacker-supplied JavaScript in the browser of any pgAdmin user who navigated to or executed EXPLAIN over the malicious object. Fix replaces innerHTML with textContent. This issue affects pgAdmin 4: before 9.15.

    • Update to 9.15
    Published Updated
  8. CVE-2026-7813

    Critical · CVSS 9.4EPSS 0.46%Fix available

    pgAdmin 4: Cross-user data access and shared-server privilege escalation in server mode

    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) all

    • Update to 9.15
    Published Updated
  9. CVE-2026-1707

    High · CVSS 7.4EPSS 0.44%Fix available

    Restore restriction bypass via key disclosure vulnerability (pgAdmin 4)

    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 process by overwriting the restore script with a payload that re-enables meta-commands using `\unrestrict <key>`. This results in reliable command execution on the pgAdmin host during the restore operation.

    • Update to 9.12
    Published Updated
  10. CVE-2025-13780

    Critical · CVSS 9.1EPSS 0.94%Fix available

    Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)

    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 management system and underlying data.

    • Update to 9.11
    Published Updated
  11. CVE-2025-12765

    High · CVSS 7.5EPSS 0.23%Fix available

    pgAdmin 4: LDAP authentication flow vulnerable to TLS certificate verification bypass.

    pgAdmin <= 9.9  is affected by a vulnerability in the LDAP authentication mechanism allows bypassing TLS certificate verification.

    • Update to 9.10
    Published Updated
  12. CVE-2025-12764

    High · CVSS 7.5EPSS 0.48%Fix available

    pgAdmin 4: LDAP injection vulnerability in LDAP authentication flow.

    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.

    • Update to 9.10
    Published Updated
  13. CVE-2025-12763

    Medium · CVSS 6.8EPSS 0.91%Fix available

    Command injection vulnerability allowing arbitrary command execution on Windows

    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.

    • Update to 9.10
    Published Updated
  14. CVE-2025-12762

    Critical · CVSS 9.1EPSS 12.71%Fix available

    Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)

    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 management system and underlying data.

    • Update to 9.10
    Published Updated
  15. CVE-2025-9636

    High · CVSS 7.9EPSS 0.23%Fix available

    Cross-Origin Opener Policy Vulnerability in pgAdmin 4

    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.

    • Update to 9.8
    Published Updated
  16. CVE-2025-2946

    Critical · CVSS 9.1EPSS 0.33%Fix available

    Cross-Site Vulnerability(XSS) due to arbitrary HTML/JavaScript gets executed while query result rendering in Query Tool and View/Edit Data Tool of pgAdmin 4

    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.

    • Update to 9.2
    Published Updated
  17. CVE-2025-2945

    Critical · CVSS 9.9EPSS 56.3%Public exploitFix available

    pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment

    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 arbitrary code execution. This issue affects pgAdmin 4: before 9.2.

    • Update to 9.2
    Published Updated
  18. CVE-2023-1907

    High · CVSS 8EPSS 0.45%Fix available

    Pgadmin: users authenticated simultaneously via ldap may be attached to the wrong session

    A vulnerability was found in pgadmin. Users logging into pgAdmin running in server mode using LDAP authentication may be attached to another user's session if multiple connection attempts occur simultaneously.

    • Update to 7.0
    Published Updated
  19. CVE-2024-9014

    Critical · CVSS 9.9EPSS 9.69%Public exploitFix available

    OAuth2 client id and secret exposed through the web browser in pgAdmin 4

    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.

    • Update to 8.12
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →