In cyber security, a vulnerability is a weakness in a system or network that can be exploited by attackers to gain unauthorized access or cause harm. A threat is a potential danger or event that could exploit a vulnerability and result in a security breach. Essentially, vulnerabilities are weaknesses, while threats are potential sources of harm.