The issue with 5G is that there is a lot more software involved e.g. software defined networking, network function virtualization, edge computing, containerisation etc.
This makes securing the platform much more complex as you have to constantly validate that each piece of software is not able to access your core network or siphon user traffic.
Optical networks like you listed are pretty dumb so aren't nearly as much of a threat.