This is happening in the USA...
Simplify Which Devices Law Enforcement Can Search
A federal court in Virginia recently ruled that having a server that hasn’t been patched with the latest security updates, the rough equivalent of skipping your Windows updates for a few months, is the same as leaving your windows open, meaning there is no need for a warrant to look inside it. If that doesn’t scare you, think about the last time you updated your phone’s software. If you’ve put off the last patch, did you just consent to a search?