Apple says that, thanks to improvements it’s made to iOS 15 security, it “has not observed any evidence of successful remote attacks against devices running iOS 15 and later versions.”
Source: Apple sues NSO Group for attacking iPhones with Pegasus spyware - The Verge