Remote Code Execution Vulnerability in pgAdmin 4
CVE-2026-17566
Key facts: CVE-2026-17566 is a critical severity (CVSS 9.4) vulnerability in Pgadmin.org pgAdmin 4. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.6%, the estimated probability of exploitation in the next 30 days. Fixed in pgAdmin 4 9.18.
What is CVE-2026-17566?
CVE-2026-17566 is a remote code execution vulnerability found in pgAdmin 4, an open-source database management tool for PostgreSQL. This vulnerability arises from the way pgAdmin handles SQL queries in its Import/Export Data tool. Specifically, it incorrectly processes user-supplied SQL queries by using a centralized parenthesis-balance checker that does not accurately account for backslashes within string literals. This flaw allows an attacker to escape the intended bounds of the SQL command, potentially executing arbitrary commands on the server through a crafted query. As pgAdmin 4 is commonly used in managing PostgreSQL databases, this vulnerability poses a significant risk to organizations relying on it for database management and operations.
Potential impact of CVE-2026-17566
-
Remote Code Execution: The most critical impact of CVE-2026-17566 is the potential for remote code execution on the server where pgAdmin 4 is running. An attacker can exploit this vulnerability to run arbitrary commands, leading to a full compromise of the server.
-
Data Loss or Corruption: Given that the vulnerability allows execution of attacker-defined commands, there is a risk of unauthorized data modification, deletion, or corruption. This can severely affect the integrity and availability of the data stored in PostgreSQL databases managed via pgAdmin 4.
-
Increased Attack Surface: The existence of this vulnerability in a widely used management tool increases the overall attack surface for organizations. Attackers may target vulnerable instances, potentially leveraging the compromised systems for further attacks, such as network infiltration or data exfiltration.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
pgAdmin 4 0 < 9.18
References
More Pgadmin.org vulnerabilities
- CVE-2026-86863: Authentication Vulnerability in pgAdmin 4 by pgAdmin Org(CRITICAL)
- CVE-2026-12048: Stored Cross-Site Scripting Vulnerability in pgAdmin 4 by pgAdmin(CRITICAL)
- CVE-2026-12046: Unauthenticated Remote Code Execution in pgAdmin 4 by Missing Authentication on Database Endpoints(CRITICAL)
- CVE-2025-13780: Remote Code Execution Vulnerability in pgAdmin Affects Server Mode Functionality(CRITICAL)
- CVE-2025-12762: Remote Code Execution Vulnerability in pgAdmin Affecting Versions Up to 9.9(CRITICAL)
- CVE-2025-2945: Remote Code Execution Vulnerability in pgAdmin 4 by pgAdmin Team(CRITICAL)
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
