CVE-2025-59489
Unity Editor vulnerability analysis and mitigation

Overview

CVE-2025-59489 is an argument injection and untrusted search path vulnerability in the Unity Runtime that allows attackers to load library code from an unintended location, potentially enabling arbitrary code execution and data exfiltration. It affects applications built with Unity Editor versions from approximately 2017.1 through 6000.3 (before the fixed releases), targeting Android, Windows, macOS, and Linux platforms. The vulnerability was publicly disclosed on October 3, 2025, with Unity's official security advisory published shortly after. It carries a CVSS v3.1 base score of 7.4 (High) per NVD, though ENISA rates it 8.4 (Unity Advisory, MSRC).

Technical details

The root cause is classified under CWE-426 (Untrusted Search Path) and CWE-88 (Improper Neutralization of Argument Delimiters — Argument Injection). The Unity Runtime fails to properly validate or sanitize arguments that influence library search paths, allowing an adversary to manipulate which library code is loaded at runtime. Exploitation requires local access (attack vector: local) but no privileges or user interaction, and the high attack complexity reflects the need for specific environmental conditions. A detailed technical write-up by Flatt Security describes the mechanics of the arbitrary code execution path in the Unity Runtime (Flatt Security). Notably, updating Unity Editor alone does not remediate the vulnerability — affected applications must be rebuilt and redeployed with a patched Unity version (Unity Advisory).

Impact

Successful exploitation can result in arbitrary code execution on the machine running a vulnerable Unity-built application, as well as exfiltration of confidential information from that system. All three CIA pillars are rated High: confidentiality, integrity, and availability are fully compromised upon successful exploitation. The vulnerability affects a massive ecosystem — Unity powers an estimated 70% of top mobile games, meaning hundreds of millions of end-user devices running unpatched applications across Android, Windows, macOS, and Linux are potentially at risk (Unity Advisory, SecurityWeek). Microsoft confirmed that several of its own products built on Unity — including Fallout Shelter, Hearthstone, The Elder Scrolls: Blades, and Microsoft Mesh applications — were affected (MSRC).

Exploitation steps

  1. Identify a vulnerable application: Determine that a target application was built with a vulnerable version of Unity Editor (2017.1 through 6000.3 before the fixed releases) running on Android, Windows, macOS, or Linux.
  2. Gain local access: Obtain local access to the target machine — either through physical access, a prior compromise, or by distributing a malicious Unity-built application to a victim.
  3. Manipulate the argument/search path: Craft or modify arguments passed to the Unity Runtime that influence library search paths, exploiting the lack of proper argument delimiter neutralization (CWE-88) to point the runtime to an attacker-controlled directory.
  4. Place malicious library: Place a malicious shared library (e.g., a crafted .dll, .so, or .dylib) in the attacker-controlled path that the Unity Runtime will load instead of the legitimate library.
  5. Trigger library load: Launch or interact with the vulnerable application so that the Unity Runtime loads the malicious library from the unintended location, executing the attacker's code in the context of the application.
  6. Achieve objectives: Use the code execution foothold to exfiltrate sensitive data, establish persistence, or pivot to other systems (Flatt Security, Unity Advisory).

Indicators of compromise

  • File System: Unexpected or unsigned .dll, .so, or .dylib files placed in directories adjacent to or within Unity application installation paths; newly created files in application data directories with names matching legitimate Unity runtime libraries.
  • Process: Unity application processes loading libraries from non-standard or user-writable directories; unexpected child processes spawned by Unity application executables (e.g., shells, network utilities).
  • Network: Unusual outbound connections from Unity-based game or application processes to unknown external IP addresses, potentially indicating data exfiltration or C2 communication.
  • Logs: Application crash logs or Unity runtime error logs referencing unexpected library load paths; OS-level audit logs (e.g., Windows Event Log, Linux auditd) showing library loads from user-writable directories by game processes.
  • Steam/Platform: Steam patch notes for individual games referencing the Unity security fix (CVE-2025-59489); games that have not yet received an update from their developer remain potentially vulnerable (Flatt Security, BleepingComputer).

Mitigation and workarounds

Unity released fixed versions across all affected branches; key patched versions include Unity 6000.0.58f2 (LTS), 6000.1.17f1, 6000.2.6f2, 6000.3.0b4, 2022.3.62f2 (LTS), 2021.3.45f2 (LTS), 2019.4.41f1 (LTS), and others — developers must upgrade to the appropriate fixed Unity Editor version and rebuild and redeploy all affected applications, as updating the editor alone does not protect end users (Unity Advisory). Microsoft advised users to temporarily uninstall affected games, keep Microsoft Defender up to date, and install all available app updates; Steam deployed client-side mitigations as a temporary measure while developers patch their games (MSRC, BleepingComputer). End users should enable automatic updates for all games and applications and prioritize updating Unity-based titles, particularly those on Android where the risk of crypto wallet access was highlighted by security researchers.

Community reactions

Unity issued an urgent security advisory urging developers to take immediate action, and both Microsoft and Valve (Steam) issued public warnings to gamers — a rare coordinated response from major platform holders (Unity Advisory, SecurityWeek). The vulnerability generated significant community discussion on Reddit (r/Unity3D, r/Steam, r/netsec), Hacker News, and Bluesky, with many developers scrambling to understand the patching process and players asking which games were affected. Security outlets including BleepingComputer, The Record, Kaspersky, Neowin, TechRadar, and SC World covered the story extensively, with some framing it as an "8-year-old" flaw given Unity 2017's inclusion in the affected range (BleepingComputer, The Record). Flatt Security, the discovering research team, published a detailed technical blog post that drove much of the community awareness (Flatt Security).

Additional resources


SourceThis report was generated using AI

Related Unity Editor vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2017-12939CRITICAL9.8
  • Unity Editor logoUnity Editor
  • cpe:2.3:a:unity3d:unity_editor
NoYesAug 18, 2017
CVE-2019-9197HIGH8.8
  • Unity logoUnity
  • cpe:2.3:a:unity3d:unity_editor
NoYesDec 31, 2019
CVE-2025-59489HIGH7.4
  • Unity Editor logoUnity Editor
  • cpe:2.3:a:unity3d:unity_editor
NoYesOct 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management