Several rockets slammed into an Iraqi military complex that hosts US forces next to Baghdad International Airport on Monday, wounding six Iraqi troops, the military said.
Security forces found launchers with rockets that had not been fired properly, indicating a larger attack was planned, a military statement said.
It is the latest in an uptick in rocket attacks targeting either Iraqi bases where American troops are located or the US embassy in Baghdad.
US defence officials have blamed several on Iran-backed factions in Iraq.
Security sources told AFP that the wounded in Monday's attack belong to Iraq's Counter-Terrorism Service, an elite unit that was created and trained by US forces.
Two of them are in critical condition, the sources said.
The military complex also hosts a small group of US soldiers and American diplomats.
There have been at least nine attacks against US targets in Iraq in the span of six weeks.
There have been no claims of responsibility and no US forces have been wounded.
Security sources have linked at least one last week to Kataib Hezbollah, a powerful Shiite faction close to Tehran and blacklisted by Washington.
Iran holds vast sway in Iraq, especially among the more hardline elements of the Hashed al-Shaabi, a security force largely made up of Shiite militias.
A US defence official told AFP the rocket attacks made the Hashed a bigger security threat to American troops in Iraq than the Islamic State group, the jihadist movement which the US has vowed to help Baghdad wipe out.
On Friday the United States imposed sanctions on three senior Hashed figures.
Tensions between Iran and the US have soared since Washington pulled out of a landmark nuclear agreement with Tehran last year and reimposed crippling sanctions.
Baghdad -- which is close to both countries and whose many security forces have been trained by either the US or Iran -- is worried about being caught in the middle.
US officials say they are considering plans to deploy between 5,000 and 7,000 additional troops to the region to counter its arch-foe Iran.
Track Latest News Live on NDTV.com and get news updates from India and around the world