pgAdmin <= 8.4 is affected by a Remote Code Execution (RCE) vulnerability through the validate binary path API. This vulnerability allows attackers to execute arbitrary code on the server hosting PGAdmin, posing a severe risk to the database management system's integrity and the security of the underlying data.
https://github.com/pgadmin-org/pgadmin4/issues/7326
https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98