Intel

AIKIDO-2026-722550

react-native-worklets is vulnerable to Prototype Pollution

Prototype PollutionCVE-2026-97724 Published Yesterday

43

Medium Risk

This Affects:

JSreact-native-worklets
0.5.0 - 0.12.1
Fixed in 0.12.2
Are you affected? Scan for Free

TL;DR

React Native Worklets clones plain JavaScript objects during serialization in clonePlainJSObject by assigning each source key directly onto a plain {} clone target. When the object being cloned contains a __proto__ key, that assignment mutates the clone's prototype instead of creating an own __proto__ property, corrupting the object Worklets later processes. When externally influenced data containing a __proto__ key reaches a shared value and is passed through this serialization path, React Native Worklets crashes, and persisted data can trigger the crash again on later access. The fix clones into a null-prototype object and materializes __proto__ as an own data property instead of assigning it through the default setter.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes externally influenced data into a shared value that Worklets serializes.

Background info

react-native-worklets is vulnerable to Prototype Pollution in versions 0.5.0 - 0.12.1.

How to fix this

Upgrade the react-native-worklets library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform