It can happen, but a properly set-up wired system leaves far less to aim at. On a UniFi system, Ubiquiti says all security footage remains local to your UniFi console, remote viewing is an encrypted connection to that console, and remote management is optional. No system is unhackable, so the passwords, settings and updates still matter.
Many CCTV hacking stories involve cheap cameras left on weak or default passwords. Which? reported an ieGeek camera that "was hacked by real cybercriminals after its weak default password was successfully breached." The NCSC's first piece of advice is to change any default password, and since 29 April 2024 UK law has required connectable products to have a password unique to the product or set by the user.
We install Ubiquiti UniFi systems where the cameras are cabled to a UniFi recorder on your property. Ubiquiti describes the Protect app and Site Manager as simply providing "a secure connection to your local UniFi Console", and you decide who can see which cameras. If you don't need to view footage over the internet, the NCSC recommends turning that feature off, and considering turning off UPnP and port forwarding on your router.
Keeping the cameras and recorder on current firmware is how known vulnerabilities get patched. In the recent UniFi Protect flaws Ubiquiti published, the attacker needed access to the local, adjacent or management network, and each fix came as an update to the Protect application or the camera firmware. Ubiquiti also runs a security rewards programme through HackerOne that pays researchers who report issues. Our answer on whether UniFi Protect is secure goes into the security side of the system in more detail, including Ubiquiti's own past incidents.
The simplest way to keep a CCTV system secure is to use wired cameras with local storage, keep firmware up to date, and use a strong, unique password. That combination leaves far less to compromise than a camera on a default password that anyone on the internet can reach.