Exploit

A piece of software or code that takes advantage of a weakness in a computer system to cause harm or gain unauthorized access.

Think of it like a secret key that someone finds to open a locked door that was supposed to keep things safe.

In the news