You don’t have to update to iOS 26 just for security reasons. There’s a way to install 18.7.3 with a beta profiler.