CVE-2026-97724
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/R:U/V:D/RE:L
Summary
A prototype pollution vulnerability in Software Mansion React Native Worklets before 0.12.2 allows an attacker-controlled object containing a proto property to modify the prototype of an object created during serialization in clonePlainJSObject in packages/react-native-worklets/src/memory/serializable.native.ts. When affected data is subsequently processed by React Native Worklets, the malformed serialized object can cause the React Native application to crash. This can result in a remotely triggered denial of service in applications that pass attacker-controlled data through the affected serialization path. In applications where the attacker-controlled data is persisted, the denial of service may persist across application restarts or repeated attempts to access the affected content.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| swmansion | React Native Reanimated | worklets-0.5.0 < worklets-0.12.2 | affected |
Weaknesses
- CWE-1321: CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Workarounds
Applications can recursively reject or remove prototype-sensitive properties such as "proto", "constructor", and "prototype" from untrusted objects before passing them to affected Worklets APIs.
References
- https://github.com/software-mansion/react-native-reanimated/issues/10436
- https://github.com/software-mansion/react-native-reanimated/pull/10451
- https://github.com/software-mansion/react-native-reanimated/pull/10462
- https://github.com/software-mansion/react-native-reanimated/releases/tag/worklets-0.12.2
- https://docs.swmansion.com/react-native-reanimated/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.