The Federal Reserve raised its 2017 prediction this week to three rate hikes instead of two, but analyst Peter Boockvar told CNBC on Thursday that the central bank is headed for a risky outcome no matter how many times it raises interest rates.

"Unfortunately, the Fed is in a no-win situation, because if they continue to go gradually in raising interest rates, even if they raise three times, if that's not enough relative to where inflation and growth is going, then the bond market's going to do it for them," Boockvar said on CNBC's "Squawk on the Street."