Look, Jiraya died figuring out Pain's secret, which will most likely translate to a weakness. It was said that Jiraya could've escaped if he wanted to. If it's a big enough thing that Jiraya would sacrifice himself for, is it not entirely plausible that Naruto could defeat Pain? Even Shizune figured out something.