In context: Since its debut in 2005, Unity has become a fixture of modern game development, powering everything from Cuphead and Hollow Knight to Monument Valley and Genshin Impact. But a newly disclosed vulnerability highlights how the same engine that democratized game creation can also quietly expose developers and players to long-standing security risks.

In June, security researchers discovered a potentially dangerous vulnerability in Unity-made games that has been unpatched for years. Unity Technologies has recently released patches and repair tools to address the flaw, though a complete fix for all affected games remains unlikely.
Security firm RyotaK discovered the vulnerability in games built with Unity 2017.1 and later, meaning it went unnoticed for at least eight years. Unity explains that unsafe file loading and file inclusion attacks can compromise applications on these releases, with severity depending on the operating system.
Left unchecked, cybercriminals could exploit the flaw to run malicious code or access sensitive information on local machines. The bug (CVE-2025-59489) has a CVSS severity score of 8.4 out of 10. Most operating systems are vulnerable to an elevation-of-privilege issue, while Android apps could allow malicious code execution.

Unity warns that any code execution or data access would be limited to the same privilege level as the vulnerable application, at least in theory. After being informed of the flaw months ago, the company found no evidence of exploitation by third parties. So far, no users or customers appear to be affected by the security flaw.
Unity has already fixed the security flaw in the engine's current versions, meaning developers working on newer games should be safe. For older titles, the situation is more complicated. Unity urges developers and companies to update the engine and "rebuild" their games, then deliver them to gamers and end users.
Unity also released a dedicated patching tool along with a comprehensive remediation guide. The vulnerability exists in the engine's runtime, and the patcher requires internet connectivity for Windows or macOS builds. The tool is intended for game developers only, so regular players or end users cannot use it.
In a worst-case scenario, applying the patch could break a Unity game entirely. Unity recommends that studios thoroughly test their games after updating. Applications protected by anti-tampering or anti-cheat solutions remain incompatible with the patcher.
Unity patches 8-year-old security flaw affecting thousands of games