WASHINGTON  The State Department’s inspector general has warned in a new report that Blackwater Worldwide, the security contractor, may not be licensed by the Iraqi government to continue to protect American diplomats in Baghdad next year, forcing the Obama administration to make new security arrangements.

The report says that if State Department contractors lose their immunity from criminal prosecution under Iraqi law, as many officials expect, employees of Blackwater and other contractors may choose to leave Iraq or demand higher pay. Five Blackwater guards were indicted this month in a 2007 shooting in Baghdad that killed at least 17 Iraqis.

Unlike some American contractors in Iraq, Blackwater does not have a license, but it has applied for one. Iraqi authorities have allowed it to operate while officials consider the application.

The inspector general’s findings were first reported Wednesday by The Associated Press, and The New York Times obtained a copy of the report.