S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Jan 28, 2026

CVE-2022-4223 Scanner

CVE-2022-4223 Scanner - Remote Code Execution (RCE) vulnerability in pgAdmin

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
2.6k
Times Used
continuous scan runs
5.5k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2022-4223
8.8
CVSShigh
Exploitable remotely over the internet · no authentication required · user interaction needed.

The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. The utility is executed by the server to determine what PostgreSQL version it is from. Versions of pgAdmin prior to 6.17 failed to properly secure this API, which could allow an unauthenticated user to call it with a path of their choosing, such as a UNC path to a server they control on a Windows machine. This would cause an appropriately named executable in the target path to be executed by the pgAdmin server.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
pgadmin4by n/a
pgadmin4 6.17
Updated Aug 22, 2026View on NVD →
Detail

pgAdmin is a popular open-source administration and management tool for the PostgreSQL database, widely used by developers and database administrators. It provides an intuitive interface for managing databases, running queries, and monitoring system performance on PostgreSQL servers. pgAdmin allows users to connect to and manage multiple PostgreSQL instances easily, making it versatile for both local and remote database management. Organizations use pgAdmin for its efficient handling of routine database maintenance tasks and its supportive community. It is designed to work across various platforms, offering a rich feature set that includes graphical monitors and syntax highlighting for SQL. Supporting the maintenance of large PostgreSQL deployments, pgAdmin is key for both educational and enterprise-level operations.

The CVE-2022-4223 vulnerability in pgAdmin allows remote code execution due to insecure HTTP API handling of binary path validation. The vulnerability arises from improper access control, allowing unauthenticated users to execute arbitrary external utilities. Given its high severity, exploitation requires no authentication, significantly increasing the ease of a potential attack. Attackers could leverage this flaw to manipulate paths, running unwanted commands or scripts directly on the server through HTTP requests. This breach could compromise server integrity and control access, making swift remediation essential. Understanding and addressing this vulnerability helps maintain the overall security posture of the affected systems.

The vulnerability occurs at the endpoint /misc/validate_binary_path, where improper validation enables the execution of arbitrary commands. The lack of authentication checks permits an attacker to manipulate the utility_path parameter in HTTP requests. This flaw can be exploited by sending crafted requests that include a malicious payload, such as command injection in the utility path. Successful exploitation could return sensitive system data, confirming the execution of the command. Consequently, attackers may establish unauthorized access to systems, hindering operational efficiency and breaching data confidentiality. It is crucial to update to a secure version to mitigate these risks.

Exploiting this vulnerability could lead to remote code execution, allowing attackers to gain control over affected systems. Attackers might execute arbitrary commands and scripts, potentially altering or deleting data, installing unauthorized software, or creating backdoors for further exploitation. The vulnerability could also result in data theft, system outages, or unauthorized use of resources, impacting business continuity and data integrity. Such exploits might also tarnish an organization's reputation, leading to legal implications or loss of customer trust if sensitive user data is compromised. Mitigation strategies should be implemented promptly to avoid severe repercussions.

REFERENCES

Solution Advice
  • Update pgAdmin to version 6.17 or later to mitigate this vulnerability.
  • Review server logs for any indications of unauthorized access or activity.
  • Implement network-level protections to restrict HTTP access to trusted clients only.
  • Consider using Web Application Firewalls (WAFs) that can block suspicious requests.
  • Regularly monitor and audit administrative tools and components for security purposes.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.