VYPR

Pgadmin4

by Pgadmin.org

pypi: pgadmin4

Source repositories

CVEs (62)

  • CVE-2023-22298MedJan 17, 2023
    risk 0.40cvss 6.1epss 0.01

    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.

  • CVE-2026-7818HigMay 11, 2026
    risk 0.39cvss 7.0epss 0.00

    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…

  • CVE-2026-116248MedOct 30, 2026
    risk 0.37cvss 6.8epss 0.00

    In pgAdmin 4 server mode only administrators are meant to share a server with all users; the server dialog shows the Shared switch only to them. The create and update endpoints of the server API, however, stored the "shared" flag and shared username they were sent, so any user…

  • CVE-2025-12763MedNov 13, 2025
    risk 0.37cvss 6.8epss 0.01

    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…

  • CVE-2023-0241MedMar 27, 2023
    risk 0.36cvss 6.5epss 0.09

    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.

  • CVE-2026-116252MedOct 30, 2026
    risk 0.35cvss 6.5epss 0.00

    pgAdmin 4's materialized view refresh passed the target database's name to psql's --dbname argument unchanged. libpq treats a --dbname value containing "=" (or a postgresql:// URI) as a full connection string, whose keywords override the host, port and other settings pgAdmin had…

  • CVE-2026-116246MedOct 30, 2026
    risk 0.35cvss 6.5epss 0.00

    To pass a server's password to psql and to the utilities pgAdmin 4 runs as background processes, the server manager wrote it into pgAdmin's own process environment: as PGPASSWORD for the PSQL tool, and under a per-process variable for a utility. Nothing removed it afterwards.…

  • CVE-2026-116240MedOct 30, 2026
    risk 0.35cvss 6.5epss 0.00

    In server mode pgAdmin 4 validates a path into the user's storage directory with check_access_permission(), which builds the absolute path with get_abs_path(). Several callers then acted on a path they built differently, so the path checked and the path used could name different…

  • CVE-2026-86862MedSep 17, 2026
    risk 0.35cvss 6.5epss 0.00

    pgAdmin 4's Restore and Maintenance tools passed the client-supplied 'database' field directly as the value of the --dbname option given to pg_restore and psql. libpq expands a database name containing an equals sign into a full connection string, and connection keywords…

  • CVE-2026-17348MedJul 31, 2026
    risk 0.35cvss 6.5epss 0.00

    In SERVER mode, pgAdmin 4 enforces authentication per route via the @pga_login_required decorator; the application's before_request hook only handles desktop-mode auto-login and the Kerberos/Webserver-auth redirect, so any route shipped without the decorator is reachable without…

  • CVE-2026-7820MedMay 11, 2026
    risk 0.35cvss 6.5epss 0.00

    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…

  • CVE-2026-7817MedMay 11, 2026
    risk 0.35cvss 6.5epss 0.00

    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…

  • CVE-2022-0959MedMar 16, 2022
    risk 0.35cvss 6.5epss 0.01

    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.

  • CVE-2017-20052MedJun 16, 2022
    risk 0.33cvss 5.0epss 0.01

    A vulnerability classified as problematic was found in Python 2.7.13. This vulnerability affects unknown code of the component pgAdmin4. The manipulation leads to uncontrolled search path. The attack can be initiated remotely. The exploit has been disclosed to the public and may…

  • CVE-2023-5002MedSep 22, 2023
    risk 0.32cvss 6.0epss 0.02

    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,…

  • CVE-2026-86861MedSep 17, 2026
    risk 0.31cvss 5.9epss 0.00

    pgAdmin 4's File Manager save_file endpoint, which backs saving from the Query Tool and ERD, validated the requested path with Filemanager.check_access_permission() and then opened the file for writing with a plain open() call. CVE-2026-7819 had previously hardened the separate…

  • CVE-2026-17350MedJul 31, 2026
    risk 0.28cvss 5.4epss 0.00

    The per-tool permission system (custom roles / role-based tool permissions, introduced in pgAdmin 4 9.3) did not enforce its permission check consistently. In SERVER mode, pgAdmin 4 gates each tool behind a per-tool Flask-Security permission, but the permission decorator…

  • CVE-2026-7814MedMay 11, 2026
    risk 0.24cvss 4.8epss 0.00

    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…

  • CVE-2026-12050MedJun 19, 2026
    risk 0.21cvss 4.3epss 0.00

    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…

  • CVE-2026-12049MedJun 19, 2026
    risk 0.21cvss 4.3epss 0.00

    Open redirect in pgAdmin 4's multi-factor authentication flow. The MFA validate and register endpoints honoured the user-supplied 'next' query/form parameter without confirming the target pointed back inside pgAdmin, so an authenticated victim who clicked…