Intel

AIKIDO-2026-722550

react-native-worklets is vulnerable to Prototype Pollution

CVE-2026-97724Published Oct 6, 2026
October 6, 2026

43

CVE Score

Medium

Prototype Pollution

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.

How do I fix this?

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

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.

Versions

0.5.0 - 0.12.1

Fixed in 0.12.2

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea