CANBERRA, Australia—Spending cuts proposed by Australia’s government that have sparked political turmoil could put the country’s triple-A credit rating at risk, investment bank J.P. Morgan said Thursday.

“The loss of Australia’s coveted triple-AAA sovereign rating is not imminent. But risks will grow without a change in trajectory,” said J.P. Morgan Chief Economist Stephen Walters in a pre-budget research paper.