Hack as a term predates the concept of cyber security. It was originally "a quick and dirty solution that is clever"

https://en.wiktionary.org/wiki/hack

For your amusement (uploaded yesterday): https://youtube.com/shorts/xraGp7M_g8g?si=b0EL-CgfD7r7Lmej