|
| 1 | +# OSG-SEC-2025-12-04 CRITICAL React Server Components Vulnerability (CVE-2025-55182) |
| 2 | + |
| 3 | +Dear OSG Security Contacts, |
| 4 | + |
| 5 | +A pre-authentication remote code execution vulnerability exists in React Server Components. The vulnerable code unsafely deserializes payloads from HTTP requests to Server Function endpoints. |
| 6 | + |
| 7 | +## IMPACTED VERSIONS: |
| 8 | + |
| 9 | +19.0.0, |
| 10 | +19.1.0, |
| 11 | +19.1.1, |
| 12 | +19.2.0, |
| 13 | + |
| 14 | + |
| 15 | +## Affected Packages |
| 16 | + |
| 17 | +react-server-dom-parcel, |
| 18 | +react-server-dom-turbopack, |
| 19 | +react-server-dom-webpack, |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +## WHAT IS THE VULNERABILITY: |
| 24 | + |
| 25 | +The vulnerability stems from unsafe deserialization logic used by React Server Components. An attacker can send a maliciously crafted serialized payload in an HTTP request to a Server Function endpoint. When React deserializes this payload, it may create unintended objects or trigger unexpected execution paths, enabling pre-authentication remote code execution on the server. |
| 26 | +This vulnerability does not affect client-side React applications, and only impacts applications that use React Server Components on the server. |
| 27 | +## Impact |
| 28 | +An unauthenticated remote attacker could: |
| 29 | +Execute arbitrary code on the server |
| 30 | +Access or manipulate data processed by server-side React functions |
| 31 | +Compromise the hosting environment |
| 32 | +Potentially pivot deeper into infrastructure |
| 33 | + |
| 34 | + |
| 35 | +Because this vulnerability requires no authentication and may be reachable through public endpoints, it is considered Critical. |
| 36 | +## WHAT YOU SHOULD DO: |
| 37 | +Patched versions have been released. All users of the affected packages must upgrade immediately. |
| 38 | +19.0.1, |
| 39 | +19.1.2, |
| 40 | +19.2.1, |
| 41 | +Additionally, if you are a user of a React based component such as Next.js, React Router, Expo, Redwood SDK, or Waku, please check the react.dev link below for upgrade instructions. |
| 42 | +## REFERENCES |
| 43 | +[1] https://nvd.nist.gov/vuln/detail/CVE-2025-55182 |
| 44 | + |
| 45 | +[2] https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components |
| 46 | + |
| 47 | + |
| 48 | +Please contact the OSG security team at security@osg-htc.org if you have any questions or concerns. |
| 49 | + |
| 50 | +OSG Security Team |
0 commit comments