A hacking team has found a way to remotely jailbreak iPads and iPhones powered by iOS 9, winning a $1 million reward in a competition for their solution.

The team, which is not being identified, turned in their jailbreak solution to the firm Zerodium, which hosted the contest, right before the deadline, Tech Times reports.

"The winning team has submitted the exploits just a few hours before the expiration of the Zerodium bounty," Zerodium's Chaouki Bekrar told Motherboard in an email.

To receive the $1 million bounty, the hacking team found vulnerabilities in both Google's Chrome web browser and iOS 9, then handed over the rights to Zerodium in exchange for the reward.

The remote jailbreak hack allows someone to access and jailbreak an iPad or iPhone remotely without the user's knowledge. The vulnerability could allow hackers to install unauthorized apps on the devices of unsuspecting owners.

If Zerodium is not careful with the information, this exploit could be used by malicious hackers to compromise the information of iPhone and iPad users.

It is unclear yet what Zerodium plans to do with the exploit, though the company will likely sell it down the line.

Zerodium announced that they would be offering three prizes of $1 million each to successful teams, but only one team discovered the proper solution.

The Pangu Jailbreak team previously discovered a jailbreak tool, but their solution does not work remotely.