However, it said that it was difficult to judge the scale of the hack, given that an inquiry was under way.

"I can confirm that the commission has recently taken necessary steps in response to a detected cybercampaign," spokesperson Thomas Regnier said.

"As a protective and preventive measure, we temporarily took down several applications and most of them have been restored.

"The investigation is still ongoing. We are taking any necessary steps, based on the findings as they come."

"This was an AI-generated cybercampaign," Mr Regnier said.

The incident was detected on 22 October and there was no evidence of any data breach affecting commission staff as a whole, he added.

Mr Regnier declined to say who the commission thought was behind the attack, and said that he was not aware of any ransom demand.

The incident is the latest high-profile cyberattack, after hacks of commercial fridges and freezers in hundreds of French supermarkets last month, ships bound for the United States in August, US water treatment plants in July, and the Los Angeles transit system in March.

Separately, an hours-long nationwide grounding of flights in the US, and outages to banking and Microsoft applications, were blamed by technology experts on attempts to rapidly patch newly identified software vulnerabilities.

Politico reported that the European Commission was targeted by a cyberattack which may have compromised large amounts of personal data.

The news organisation said that several systems, including those for payslips, time management and medical reimbursements, were taken offline during the 10-day disruption.

The commission convened its highest-level internal crisis management body for an urgent meeting about the incidents, according to Politico, and Tech Sovereignty and Security Commissioner Henna Virkkunen briefed other commissioners yesterday.

Ms Virkkunen's office did not immediately respond to a request for comment.