Skip to main content
Block #9

Can a Unity Android Bug Drain Your Wallet? Here Is How to Check

Crypto News

Can a Unity Android Bug Drain Your Wallet? Here Is How to Check

Crypto applications and gaming apps using Unity are currently facing serious security issues.

Sanne Vermeulen
is een unity android bug in staat je wallet te leegmaken zo controleer je het
3 min

Crypto applications and gaming apps that utilise Unity are currently facing serious security issues. A vulnerability has recently been discovered that allows a malicious application already present on a device to force a vulnerable Unity app to load harmful code. This vulnerability, designated CVE-2025-59489, was disclosed on 2 October 2023. The notable aspect of this flaw is that the code runs with the game's own permissions on Android, enabling local code execution.

For desktop users, the primary risk lies in privilege escalation. Unity itself has emphasised that there is no evidence of active exploitation in the wild, but maintains that prompt updates are necessary. The bug causes the Unity runtime to accept specific pre-initialisation arguments, which affects the search locations for native libraries. When an attacker controls that search path, the Unity app can load and execute the attacker's library. Security firm GMO Flatt explains that the product relies on resources found on an external or attacker-influenced path.

Risks for crypto-related applications

Many Unity-based apps integrate wallet SDKs, custodial logins, or WalletConnect-style sessions. In a scenario where malicious code is injected into a specific Unity app, it could gain access to private files, hijack a WebView, call the same signing APIs, or exfiltrate session tokens. While the injected code cannot breach the secure environments of other wallets, the vulnerable Unity app holds keys or can request signatures via the Android Keystore. This allows an attacker to leverage permissions that have already been granted.

Unity emphasised in its advisory that the impact is limited to the app's privileges, which are precisely the permissions an embedded wallet in the game relies upon. Verifying whether a device is affected begins with checking the dates on app store pages. On Android, if a game or wallet app shows an update on or after 2 October, this indicates that the developer has likely rebuilt the app with an updated Unity editor or applied the Unity patch.

Many Unity-based apps integrate wallet SDKs, custodial logins, or WalletConnect-style sessions.

Earlier versions should be considered potentially vulnerable until they are updated. Unity has stressed that there has been no known exploitation to date, but that a risk exists if users also install malicious applications capable of triggering this vulnerability. It is advisable to keep Play Protect enabled, avoid sideloading applications from unknown sources, and remove suspicious apps.

Vigilance remains necessary

Even after applying patches, users should treat wallet integration flows defensively. It is crucial to ensure that seed phrases are never stored as plain text and to require biometric security for every transaction. Additionally, the Android Keystore can be utilised for keys that implicitly require user confirmation for all signing operations.

Disconnecting terminated WalletConnect sessions and keeping larger amounts on a hardware wallet until developers confirm that a patched Unity build is active are smart precautionary measures. These steps reduce attack vectors, even if a new bug were to be found in an app's path in the future.

Although CVE-2025-59489 is a serious vulnerability, there are clear solutions and guidelines that can help both users and developers stay safe.

3 questions

Q&A

The questions from this article, neatly compiled.

The vulnerability allows attackers to influence the Unity app and execute malicious code, which can lead to unauthorised access to personal data and wallet information.

  • android
  • app
  • crypto
  • Unity
Sanne Vermeulen

Written by

Sanne Vermeulen

Market editor · Amsterdam (NL)

Expertise

MarketsETFsBitcoin

Sanne monitors crypto markets, ETF flows, and institutional inflows in Europe. She previously wrote about capital markets and translates market data into understandable stories.

Stay in the loop

Follow Block #9.

By 7 a.m. you already know

Every Monday, Wednesday, Friday and Sunday morning at 07:00, the overview in your inbox.

Free. Unsubscribe in one click.

Practice without real money or test your knowledge?

Read more

Other interesting articles

All articles
Block Notes

By 7 a.m. you already know

Monday, Wednesday and Friday the news that matters. Sunday morning the whole week in one overview. No hype, no noise.

  • Monday, Wednesday, Friday and Sunday morning at 07:00
  • 2 min
  • No spam

Free. Unsubscribe in one click.