Multiple vulnerabilities affecting pgAdmin 4
Multiple vulnerabilities have been discovered in pgAdmin 4, allowing a malicious actor to perform multiple malicious actions on affected systems.
Description
Technical context and vulnerability details
pgAdmin is a PostgreSQL database management and administration tool, providing an intuitive graphical interface for creating, modifying and monitoring databases. It allows developers and administrators to efficiently manage objects, execute SQL queries, and manage roles, permissions and database access. This tool is affected by several vulnerabilities labeled as follows: CVE-2026-7813: This vulnerability results from insufficient access controls in the server mode of pgAdmin 4, affecting the Server Groups, Servers, Shared Servers, Background Processes and Debugger modules. Exploitation of this vulnerability would allow an authenticated attacker to access private servers and groups belonging to other users by guessing object identifiers, and execute arbitrary commands via the passexec_cmd field of shared servers. This vulnerability is classified critical with a severity score of 9.9 according to CVSS V3.1. CVE-2026-7814: This vulnerability is due to a lack of input validation and encoding when rendering PostgreSQL object names in the Browser Tree and the Explain Visualizer. Exploitation of this vulnerability would allow an authenticated attacker to inject and execute arbitrary JavaScript code in other users' browsers. This vulnerability is classified as high with a severity score of 7.6 according to CVSS V3.1. CVE-2026-7815: This vulnerability is due to a lack of validation of entries in the table, schema, maintenance_db and encoding parameters of the Maintenance tool. Exploitation of this vulnerability would allow an authenticated attacker to execute arbitrary SQL queries with privileges of the pgAdmin process on the affected system. This vulnerability is classified high with a severity score of 8.8 according to CVSS V3.1 CVE-2026-7816: This vulnerability is due to a lack of validation and sanitization of inputs in the Import/Export functionality. Exploitation of this vulnerability would allow an authenticated attacker to inject and execute arbitrary system commands on the server hosting pgAdmin. This vulnerability is classified as high with a severity score of 8.8 according to CVSS V3.1. CVE-2026-7817: This vulnerability is due to a lack of validation of URLs provided in LLM API configuration endpoints. Exploitation of this vulnerability would allow an authenticated attacker to read arbitrary files on the server (LFI) or coerce pgAdmin to issue requests to internal resources. This vulnerability is classified medium with a severity score of 6.5 according to CVSS V3.1. CVE-2026-7818: This vulnerability is due to insecure deserialization in the session manager. Exploitation of this vulnerability would allow an authenticated attacker to forge a malicious session file in order to execute arbitrary code remotely on the affected system. This vulnerability is classified as high with a severity score of 8.8 according to CVSS V3.1. CVE-2026-7819: This vulnerability is due to a lack of control when resolving symbolic links in the pgAdmin file manager. Exploitation of this vulnerability would allow an authenticated attacker to access arbitrary files outside of authorized directories. This vulnerability is classified as high with a severity score of 7.7 according to CVSS V3.1. CVE-2026-7820: This vulnerability is due to a lack of mechanism for limiting the number of connection attempts in the Flask-Security connection view. Exploitation of this vulnerability would allow an unauthenticated malicious actor to attempt an unlimited number of logins on a locked account, opening the door to brute force attacks. This vulnerability is classified medium with a severity score of 5.3 according to CVSS V3.1.
Potential Risks & Impact
Potential consequences upon exploitation
- Remote Arbitrary Code Execution;
- Bypassing access controls;
- Data privacy breach;
- Compromise of system integrity;
- Denial of Service (DoS);
Affected systems
Products, components and targeted versions
- All versions of pgAdmin 4 prior to version 9.15;
Recommended Remediations & Actions
Immediate actions and recommended mitigations
- Update pgAdmin 4 to version 9.15 or later;
Sources & External Links
Vendor security advisories and documentation
- https://www.pgadmin.org/docs/pgadmin4/9.15/release_notes_9_15.html
- https://www.postgresql.org/about/news/pgadmin-4-v915-released-3295/
- https://nvd.nist.gov/vuln/detail/CVE-2026-7813
- https://nvd.nist.gov/vuln/detail/CVE-2026-7814
- https://nvd.nist.gov/vuln/detail/CVE-2026-7815
- https://nvd.nist.gov/vuln/detail/CVE-2026-7816
- https://nvd.nist.gov/vuln/detail/CVE-2026-7817
- https://nvd.nist.gov/vuln/detail/CVE-2026-7818
- https://nvd.nist.gov/vuln/detail/CVE-2026-7819
- https://nvd.nist.gov/vuln/detail/CVE-2026-7820
- https://www.thehackerwire.com/pgadmin-4-critical-authorization-bypass-and-rce/
Advisory Specifications
CSIRT Emergency Response
Is your organization affected or do you suspect an incident? Our security experts are available to assist.
Report an incidentGet our alerts by email
Subscribe to receive our security alert bulletins and Iservices news straight to your inbox.