With the increasing use of artificial intelligence (AI) and the Internet of Things (IoTs), it is crucial to acknowledge the potential security and privacy issues that arise from these advanced technologies in smart cities. This article provides overview of these concerns, highlighting the various ways in which smart city technologies can be vulnerable to cyber-attacks and other security threats. Additionally, the paper examines the privacy risks associated with the collection and use of personal data in smart cities. Effective security measures and privacy protection policies are crucial in ensuring the safety and security of smart cities. Cooperation between governments, private companies and citizens is essential to implement such measures and policies, allowing smart cities to continue developing while guaranteeing the security and privacy of their citizens. Likewise, smart city public safety systems that utilize AI-powered surveillance technologies may be predisposed to hacking, leading to privacy breaches and data misuse. Moreover, smart city energy systems, which rely on IoT devices to regulate power grids, are susceptible to cyber-attacks that can result in power outages or significant damage to vital infrastructure. The adoption of information and communication technology for smart city development has increased the risk of cyber threats, emphasizing the need for a review cybersecurity governance model. In addition, smart city water systems that rely on AI-powered sensors to monitor water quality may also be at risk of hacking, which could result in the contamination of the water supply. Further research is required to better understand the potential risks associated with smart city technologies and develop new solutions to address them. This article shows as a valuable resource for city administrators, policymakers and researchers interested in the security and privacy concerns of smart cities.