China's debt loads have long loomed as a serious economic risk, and while analysts say new plans to clean up local government borrowing will bring near-term pain, a longer-term fix may be in sight.

"[The new plan] represents the first concrete step by the central government to clean up the debt problems at the local governments," analysts at Bernstein Research said in a note Friday.