React2Keys turned React2Shell (CVE-2025-55182), a CVSS 10.0 remote code execution flaw in React Server Components, into a credential harvesting campaign in November 2026. React2Keys operators scanned fresh certificates, stole cloud and AI keys, and planted SSH access on unpatched hosts. This guide covers how the campaign worked, who is affected, the fixed versions, the log hunt, and the rotation checks that patching alone does not finish.
What are React2Keys and React2Shell (CVE-2025-55182)?
React2Keys is the November 2026 credential theft campaign built on React2Shell, CVE-2025-55182, a CVSS 10.0 unauthenticated remote code execution flaw in React Server Components disclosed on December 3, 2025. React2Keys operators harvested keys from hosts that stayed unpatched, which is why this old flaw still pages teams.
The page went off at 2:14 a.m. because a scanner was walking our public Next.js apps, sending POST requests with a header we had never alerted on. (Composite scene, stitched from a few patch nights. The details below are the real ones.)
That scene is from December 2025. The reason this guide is on your screen now is November 2026. A campaign called React2Keys spent ten days using this same flaw to harvest credentials from hosts that never patched, and CloudSEK counts the take at more than 50,000 credentials. The flaw dates to December 2025, while the harvesting campaign ran in November 2026. If your apps are patched, this guide helps you verify that with evidence. If they are not, start at the patch section.
By 2:40 on that first night we had identified the problem. The flaw sat in the framework itself. React Server Components were deserializing client supplied payloads without checking them first, and one crafted request could run code as the app process. No login. No user interaction. CVSS 10.0.
The React team disclosed the issue on December 3, 2025, and shipped fixed packages the same day. The advisory is GHSA-fv66-9v8q-g76r, tracked as CVE-2025-55182 and classed as CWE-502, deserialization of untrusted data. Security researcher Lachlan Davidson found it and reported it through the Meta bug bounty program on November 29, 2025.
Here is the part that made the night long. Exploitation started within hours of disclosure. CISA added the CVE to its Known Exploited Vulnerabilities catalog on December 5, 2025, and lists it with known ransomware use. The EPSS score at disclosure sat near 77.8 percent. Vendor reporting attributes early exploitation to China-nexus groups, including Earth Lamia and Jackpot Panda. Treat that attribution as vendor-reported. The part you can verify yourself is the patch and your own logs.
If you run Next.js with the App Router, this guide is your runbook. We cover who is affected, how to find every copy of the vulnerable packages, how to patch, how to hunt your logs back to December 3, and when to rotate secrets. We wrote a similar postmortem after a Next.js RCE hijacked our AWS container. That incident followed the same pattern: patching took an hour, and confirming nothing had been taken took two days.
One warning before the commands. Next.js states there is no workaround. WAF rules can block known payload shapes for a few hours. They do not fix the deserializer, so the patch goes in before the log hunt starts.
The 970+ Incident Handbook & K8s Runbooks are exclusive to subscribers — unlock for FREE
Get battle-tested production runbooks, AWS architecture blueprints, and zero-downtime CI/CD post-mortems sent directly to your inbox. 100% free, no spam.
React2Keys: the November 2026 React2Shell credential theft campaign
React2Keys was a ten day campaign in November 2026 that used React2Shell to steal credentials at scale. CloudSEK reports more than 50,000 credentials taken from at least 19,000 hosts across 400 organizations, with AI tools automating scanning and key validation, per BleepingComputer reporting.
A December 2025 flaw is back on your pager for a specific reason. In November 2026, a campaign tracked as React2Keys turned React2Shell into a credential harvesting machine. CloudSEK research, reported by BleepingComputer on November 30, 2026, puts the run at ten days, November 9 to 19, with more than 50,000 credentials stolen from at least 19,000 hosts at 400 organizations. Those numbers are CloudSEK's, via BleepingComputer. Treat them as researcher-reported, and verify your own exposure with your logs.
The targeting is the part every SRE should study. The attacker polled six Certificate Transparency logs every three minutes. Every new TLS certificate became a scan target within minutes of issuance. CloudSEK found about 3 percent of checked domains fingerprinted as likely Next.js, so a fresh certificate on a fresh subdomain was enough to put a host in the queue. If your team spins up preview environments with public certs, assume they were scanned.
Once a host answered as Next.js, the React2Shell exploit did the rest. The harvest list reads like your environment file: AWS access keys and session credentials, Azure managed identity tokens, GCP service account keys, Anthropic, OpenAI and Gemini API keys, Claude Code OAuth tokens, GitHub tokens, PostgreSQL, Redis and MongoDB credentials, and crypto exchange keys with wallet private keys.
Then AI tools sorted the loot. Per the same reporting, stolen keys were validated automatically: OpenRouter tested keys against four Claude models, Azure AI Foundry checked Claude deployments, and Gemini verified Google keys. Stolen Claude Code OAuth tokens were used to run AI requests billed to the victims. That detail matters for your hunt. A key that was tested and used leaves usage records on the provider side, and those records are evidence you can pull.
Persistence was simple and effective. The attacker planted an SSH key on compromised hosts, so patching the app did not end the access. Stolen cloud credentials were then reused to expand the scanning itself. One foothold funded the next round of targets.
CloudSEK recovered a 1.9 million line exfiltration log and a toolkit of over 900,000 files. You do not need those artifacts to act. You need the four checks this campaign makes mandatory: unauthorized SSH keys, cloud identity usage, AI platform billing and token usage, and GitHub token activity. The hunt and rotation sections below now carry those checks step by step.
React2Shell is the old flaw from December 2025. React2Keys is the November 2026 campaign that automated the search for hosts still running it, which is why unpatched servers were found within minutes of getting a new certificate.
Am I affected by React2Keys and React2Shell?
React2Keys targeted hosts running react-server-dom-webpack, react-server-dom-parcel or react-server-dom-turbopack at 19.0.0, 19.1.0, 19.1.1 or 19.2.0, which includes Next.js 15.x and 16.x App Router apps. Pages Router apps, the Edge Runtime, Next.js 13.x and 14.x stable were not affected by React2Shell in production.
Answer this from your lockfiles rather than from memory. React2Keys fingerprinting worked because exposed apps answered as Next.js in public, so your exposure check starts with what the internet can see. Teams missed this flaw because the vulnerable code arrived as a transitive dependency of the framework, not as something anyone installed on purpose.
The affected packages are the three React Server Components server packages: react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack, at versions 19.0.0, 19.1.0, 19.1.1 and 19.2.0. Any framework or bundler that embeds them inherits the flaw. Next.js 15.x and 16.x apps using the App Router bundle the vulnerable code, and so do Next.js 14.3.0-canary.77 and later canary releases.
| Component | Affected versions | Fixed versions |
|---|---|---|
| react-server-dom-webpack | 19.0.0, 19.1.0, 19.1.1, 19.2.0 | 19.0.1, 19.1.2, 19.2.1 |
| react-server-dom-parcel | 19.0.0, 19.1.0, 19.1.1, 19.2.0 | 19.0.1, 19.1.2, 19.2.1 |
| react-server-dom-turbopack | 19.0.0, 19.1.0, 19.1.1, 19.2.0 | 19.0.1, 19.1.2, 19.2.1 |
| Next.js 15.x (App Router) | Before the December 2025 patches | 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 |
| Next.js 16.x (App Router) | Before 16.0.7 | 16.0.7 |
| Next.js canary | 14.3.0-canary.77 and later | Move to a patched release line |
Two scope notes save people hours. First, your app is exposed even if you never wrote a Server Function or Server Action. Supporting React Server Components is enough, because the vulnerable deserializer handles incoming Flight payloads. Second, some setups are clean: Next.js Pages Router apps, Edge Runtime deployments, Next.js 13.x, Next.js 14.x stable, and pure client side React apps with no server rendering.
Later follow-up issues in the same packages mean the December 2025 fix versions are a floor, not a target. Install the latest patched release in your line.
Now check your own tree. Run this in every repo that ships a web frontend:
npm ls react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack next react
Then search the lockfile directly, because npm ls only shows what resolved in this install:
grep -E '"(react-server-dom-webpack|react-server-dom-parcel|react-server-dom-turbopack|next)"' package-lock.json | head -40
grep -rn "react-server-dom" yarn.lock pnpm-lock.yaml 2>/dev/null | head -40
Check the images too. A patched repo does not help if production still runs last month's container:
docker history --no-trunc your-registry/web:prod | head -20
docker run --rm your-registry/web:prod cat node_modules/next/package.json | grep '"version"'
Write down every hit: repo, service, environment, version. That list is your patch queue and your log hunt scope. If a service has no hit, keep the command output as evidence. Keep that output for the incident record, because auditors will ask for it later.
How React2Keys operators exploit React2Shell
React2Keys operators used the Flight deserializer, which trusted reference metadata sent by the client. The $@ self-reference syntax plus prototype chain traversal reaches the JavaScript Function constructor, then runs arbitrary code as the app. The React2Shell patch adds a hasOwnProperty export check and response symbol validation.
You do not need the full exploit to defend against it. React2Keys credential theft only needed that one request shape, repeated at scale. You need to know which door it walks through, because that decides what to log.
React Server Components talk to the browser in a serialization format called Flight. When a client calls a Server Function, the server reconstructs the call from metadata in the request. In the vulnerable versions, that reconstruction trusted property paths supplied by the client. An attacker could point a reference at inherited prototype properties instead of real exports.
The payload uses the Flight $@ self-reference syntax to build circular references during deserialization, then walks the prototype chain until it reaches the global Function constructor. From there, arbitrary JavaScript runs inside the server process, with the privileges of your app. One POST request. No credentials.
The patch closes the two holes that made this possible. React added a hasOwnProperty check so the requested export name must be a direct property of the module, not something inherited from a prototype. It also added response symbol validation so attackers cannot tamper with internal response objects. Both fixes live in the deserializer, which is why no config flag or WAF rule substitutes for the upgrade.
Three operational facts fall out of the mechanism:
- The attack arrives as an ordinary HTTPS POST. Your load balancer sees a 200 or a 500, nothing exotic. Detection has to look at headers and body markers, which we cover in the log hunt section.
- Code runs as the app user. If your container runs as root and holds cloud credentials in environment variables, the attacker inherits all of it.
- The request path does not need to be a real Server Function endpoint you defined. RSC support in the framework is the exposure.
We keep this section short on purpose. Working exploit code is public, and reproducing it here helps scanners more than defenders. What matters for your response is the shape of the request and the fact that the fix is a version bump, not a code change in your app.
Patch React2Shell before React2Keys finds you
Patch React2Shell before React2Keys scanning finds your hosts: upgrade to React server packages 19.0.1, 19.1.2 or 19.2.1, or the patched Next.js release for your line, such as 15.5.7 or 16.0.7. Prefer the latest patch in your line. There is no workaround, so treat the upgrade as the incident fix.
Patch in this order: internet facing apps first, then staging, then anything internal that renders RSC. Do not wait for a maintenance window. CISA gave federal agencies a remediation deadline of December 12, 2025 for this CVE. Your deadline should be measured in hours, not sprints. React2Keys turned fresh certificates into scan targets within minutes, which is why waiting for a window is the risky option.
For Next.js apps, install the patched release for your line:
# Next.js 15.5.x line
npm install next@15.5.7
# Next.js 16.x line
npm install next@16.0.7
# Other 15.x lines: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8
Vercel also publishes a checker and upgrader for Next.js apps:
npx fix-react2shell-next
Run it, then read the diff it produces before you commit. Automated upgraders are fine. Blind commits are not.
For non-Next.js RSC setups, upgrade the React packages directly:
npm install react@latest react-dom@latest react-server-dom-webpack@latest
Swap in react-server-dom-parcel or react-server-dom-turbopack if that is what your bundler uses. Then rebuild and redeploy every image. A lockfile change that never reaches production fixes nothing.
Verify the fix where it counts, in the running artifact:
npm ls react-server-dom-webpack next
docker run --rm your-registry/web:prod node -e "console.log(require('next/package.json').version)"
Then confirm the app still serves. Smoke test the routes that use Server Components and Server Actions first, because those are the paths the patch touches. Check error rates and latency for one deploy cycle before you declare the patch done.
Two mistakes we saw teams make that week. The first was patching the repo but not the canary or preview deployments, which stay internet reachable and keep the old version alive. The second was stopping at the December 2025 fix versions. Later RSC issues were disclosed in the same packages, so land on the latest patch in your line and re-check the advisory when you do.
If you cannot patch today, put a WAF rule in front that blocks POST bodies containing $@ or "status":"resolved_model" on RSC routes, and take the app off the public internet if the business allows it. Say plainly in your incident notes that this is a holding action. The deserializer is still vulnerable behind it.
Hunt React2Keys traces in your logs
Hunt React2Keys traces from December 3, 2025, not from your patch date. Look for POST requests with next-action or rsc-action-id headers, bodies containing $@ or resolved_model markers, /etc/passwd access attempts, and Node processes spawning curl, wget or PowerShell. Any hit on an unpatched app means treat it as compromised.
Patching closes the hole. It says nothing about who walked through it while it was open. Your hunt window starts on December 3, 2025, the disclosure date, because exploitation began within hours. If your logs only reach back 30 days, say so in the incident record and widen the secret rotation instead.
Start with the request fingerprints. Attack traffic carries Flight protocol markers that normal browser traffic does not:
# nginx or Apache access logs, adjust paths to your setup
grep -iE "next-action|rsc-action-id" /var/log/nginx/access.log
grep -E '\$@|resolved_model' /var/log/nginx/access.log
grep -iE "/etc/passwd|/etc/shadow" /var/log/nginx/access.log
Access logs rarely store request bodies, so treat header hits as leads, not verdicts. Pull the full request from your WAF, CDN or load balancer logs where body inspection exists. A next-action header on its own can be legitimate. A next-action header plus $@ in the body is an attack until proven otherwise.
Next, look at what the server did after those requests. Exploitation ends with the Node process running commands:
# Process audit or EDR query ideas
ps aux | grep -E "curl|wget|powershell" | grep -v grep
journalctl -u your-app-service --since "2025-12-03" | grep -iE "exec|spawn|child_process"
On Linux hosts, check for new files in temp directories, new cron entries and new SSH keys. Vendor reporting describes attackers saving files in temporary directories and searching for sensitive data. Those are cheap checks:
find /tmp /var/tmp -type f -newermt "2025-12-03" 2>/dev/null | head -50
ls -la ~/.ssh/ /root/.ssh/ 2>/dev/null
crontab -l; ls -la /etc/cron.d/
The React2Keys campaign adds four checks you cannot skip. First, SSH persistence. The attacker planted an SSH key on compromised hosts, so diff every authorized_keys file against your known good list:
for f in /home/*/.ssh/authorized_keys /root/.ssh/authorized_keys; do echo "== $f"; cat "$f" 2>/dev/null; done
grep -iE "accepted publickey" /var/log/auth.log | tail -50
An SSH key you cannot name is a finding, not a curiosity. Remove it, then find out how it got there.
Second, cloud identity usage. Review CloudTrail, Azure Activity Log or GCP audit logs for the app identity from December 2025 onward, with extra weight on November 9 to 19, 2026: new access keys, role assumptions from odd IPs, secret reads, and any call your app never makes.
Third, AI platform billing and token usage. React2Keys validated stolen keys against live AI services and billed requests to victims. Pull usage and billing records for OpenAI, Anthropic, Gemini and OpenRouter. Look for token spend spikes, new API keys, and usage from regions your team does not operate in.
Fourth, GitHub tokens. Check the audit log for token creation, new SSH keys, workflow runs you do not recognize, and repository access from new IPs. A stolen GitHub token turns one compromised host into a supply chain problem.
Then check the cloud side more broadly. Code execution inside your app means the attacker could read environment variables and call the instance metadata service. Review CloudTrail or your cloud audit log for the app role from December 3 onward: unusual API calls, new access keys, reads of secrets you do not recognize.
Decide with a simple rule. If an unpatched, internet facing app shows attack markers, treat it as compromised. Rebuild from a clean image, rotate secrets, and keep the old host or snapshot for forensics. Do not try to clean a server that ran attacker code. You cannot prove a negative on a box you no longer trust.
Rotate secrets after React2Keys
Rotate secrets after React2Keys if your app was online and unpatched on December 4, 2025 at 1:00 PM PT, which is the line Next.js draws in its advisory. Rotate application secrets, API keys and cloud credentials the app could reach, then revoke the old values and watch for their use.
Next.js draws a bright line in its advisory. If your app was online and unpatched as of December 4, 2025 at 1:00 PM PT, rotate your application secrets. We treat that as a floor. Any unpatched window after December 3 gets the same treatment, because the first day of exploitation is the day scanning is loudest.
Work the list in this order:
| Secret | Action | Why |
|---|---|---|
| App secrets and session keys | Rotate and redeploy | RCE reads process environment variables |
| Database credentials | Rotate, then kill old sessions | Attackers dump connection strings first |
| Third party API keys | Rotate at the provider, revoke old keys | Keys in env vars are plain text to the app user |
| Cloud credentials | Rotate keys, review role policies | Metadata service access turns app RCE into cloud access |
| CI tokens reachable from the app | Revoke and reissue | Stolen tokens outlive the patch |
| User sessions | Force re-login if sessions are server side | Session stores sit next to the compromised process |
| AI platform keys and OAuth tokens | Rotate at OpenAI, Anthropic, Gemini, OpenRouter; audit billing | React2Keys validated and spent stolen AI keys |
| GitHub tokens | Revoke, review audit log and workflow runs | Stolen tokens expand access to code and CI |
| SSH authorized_keys | Remove unknown keys, rotate host keys if unsure | A planted key survives the framework patch |
Patching alone does not revoke stolen secrets or planted SSH access. That sentence is the whole React2Keys lesson. The upgrade stops new exploitation. It does nothing about credentials already copied or keys already planted.
Rotation means revoke, not just add. Create the new value, deploy it, confirm the app works, then delete the old value at the provider. A rotated secret whose old twin still works is decoration.
Watch the old values after rotation. Alert on any use of a revoked key, any login with an old session, and any cloud API call from an IP your app does not use. Attackers test stolen credentials days later, when the incident channel has gone quiet.
Keep the blast radius honest. If the app ran as root in a container with broad cloud permissions, assume everything it could read was read. If it ran as a non-root user with scoped credentials and no metadata access, your rotation list is shorter. Write down which case you are in. That one paragraph decides how big this section of your incident gets. Our Ruby2Shell response guide follows the same rotation logic for a different runtime, and the checklist transfers cleanly.
React2Keys and React2Shell patch troubleshooting
Most React2Keys era patch problems are version mismatches: a transitive copy of react-server-dom-webpack survives the upgrade, or the deployed image predates the lockfile change. Verify with npm ls and the running container version, rebuild the image, and redeploy. Smoke test Server Action routes after every fix.
Patch nights produce their own incidents. During the React2Keys campaign, a half patched fleet was still a target list, so treat every row below as exposure, not housekeeping. These are the failures we hit, and the fix for each.
| Symptom | Likely cause | Fix |
|---|---|---|
| npm ls still shows 19.2.0 after upgrade | A transitive dependency pins the old react-server-dom package | Add an override or resolutions entry, reinstall, re-run npm ls |
| App builds but Server Actions return 500 | React and react-dom versions drifted apart during the upgrade | Align react, react-dom and react-server-dom versions, rebuild |
| Scanner still flags production | The deployed image predates the lockfile change | Rebuild the image, redeploy, verify the version inside the running container |
| Preview deployments still vulnerable | Only production was patched | Patch and redeploy preview and canary environments, or take them offline |
| WAF blocks legitimate form posts | The holding rule matches normal Flight traffic | Narrow the rule to $@ and resolved_model markers, keep it only until patched |
| npm audit stays red after patching | A different advisory in the same tree | Read the audit output line by line, fix the named package, do not force upgrades blindly |
The transitive copy problem deserves a closer look, because it bites monorepos hardest. Your top level package.json can be clean while a workspace package resolves the old server package. Check every workspace:
npm ls react-server-dom-webpack --workspaces
find . -name "package.json" -path "*node_modules/react-server-dom-webpack*" | head
If a dependency pins the old version, force the fixed one. For npm, an overrides block does it:
{
"overrides": {
"react-server-dom-webpack": "19.2.1"
}
}
Use the fixed version for your React line, reinstall, and confirm with npm ls. Then run your test suite. Overrides can break the package that pinned the old version, and a green build with a broken checkout page is not a win.
After the deploy, smoke test by hand. Load a page that renders Server Components. Submit a form that calls a Server Action. Watch the logs for deserialization errors. Five minutes of clicking beats a week of wondering.
Prevent the next React2Keys campaign
Prevent the next React2Keys campaign by treating KEV listed framework flaws as same day patches. Scan dependencies in CI on every build, keep an inventory of internet facing apps and their framework versions, run containers as non-root with scoped credentials, and limit egress so a compromised app cannot call out freely.
React2Shell was not a failure of effort, and React2Keys was not bad luck. Teams patched fast once they knew. The failures were structural: nobody could list every app running the vulnerable package, and patch priority waited on a severity debate that a CVSS 10.0 score had already settled.
Four controls would have changed that week.
A KEV driven patch SLA. When CISA lists a flaw in the Known Exploited Vulnerabilities catalog, the patch clock starts. We use 24 hours for internet facing apps and 72 hours for everything else. The rule is boring on purpose. Boring rules survive night shifts.
Dependency scanning in CI. Scan the lockfile on every build and fail the build on critical advisories in server side packages:
npm audit --audit-level=critical
Pair that with a scheduled scan of your container images, because the image is what runs in production. The HTTP/2 rapid reset response taught the same lesson at the protocol layer. The artifact in production is the unit of risk, not the repo.
An app inventory you trust. One list: service, owner, framework, version, exposure. Update it from the deploy pipeline, not from a spreadsheet someone edits quarterly. When the next advisory lands, the first question is "where does this run", and the answer should take minutes.
A smaller blast radius. Run the app as a non-root user. Scope cloud credentials to the few actions the app needs. Block the metadata service from app containers that do not need it. Limit egress so a compromised process cannot download tools or exfiltrate data to arbitrary hosts. None of this stops the exploit. All of it decides whether one bad request becomes a bad week.
securityContext:
runAsNonRoot: true
runAsUser: 10001
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
Add detection to the list. Alert on POST bodies containing Flight markers on RSC routes, and on your app process spawning shells or download tools. You will tune out some noise in week one. After that, the alert is cheap insurance.
None of these controls are new. That is the point. Framework RCEs arrive every year or two, and the teams that handle them well are the ones whose boring controls were already in place.
React2Keys timeline: React2Shell disclosure to credential theft
Lachlan Davidson reported React2Shell on November 29, 2025. The React team disclosed CVE-2025-55182 and shipped fixes on December 3, 2025. Exploitation began within hours, CISA listed the CVE on December 5, 2025, and React2Keys harvested unpatched hosts in November 2026.
Timelines matter in incident reviews, because they show how much time you had. This one is short.
| Date | Event |
|---|---|
| November 29, 2025 | Researcher Lachlan Davidson reports the flaw through the Meta bug bounty program |
| December 3, 2025 | React team discloses CVE-2025-55182 and publishes fixed packages 19.0.1, 19.1.2, 19.2.1 |
| December 3, 2025 | Next.js publishes patched releases across its supported lines |
| Within hours of disclosure | Exploitation attempts begin, per vendor reporting |
| December 4, 2025, 1:00 PM PT | Next.js line for secret rotation: apps online and unpatched at this point should rotate secrets |
| December 5, 2025 | CISA adds CVE-2025-55182 to the Known Exploited Vulnerabilities catalog |
| December 12, 2025 | CISA remediation due date for federal agencies |
| November 9 to 19, 2026 | React2Keys campaign harvests credentials from unpatched hosts, per CloudSEK research |
| November 30, 2026 | BleepingComputer reports the React2Keys campaign findings |
Read that table as an operator. From disclosure to active exploitation: hours. From disclosure to a federal patch deadline: nine days. If your patch process needs a change board and a two week sprint, it does not fit this class of flaw, and the fix is a pre-approved emergency path for KEV listed vulnerabilities.
The other lesson hides in the first row. The flaw was reported on November 29 and disclosed with fixes on December 3. Coordinated disclosure worked. The window that hurt people was not the research window. It was the gap between the patch existing and the patch running in production.
Measure your own gap after this incident. When did the advisory reach your team. When did the first patched build deploy. When did the last preview environment get fixed. Those three timestamps are your real patch SLA, whatever the policy document says.
React2Keys response checklist for on-call
Work the React2Keys checklist in order: inventory every react-server-dom copy, patch to the latest fixed release in your line, verify the version inside the running container, hunt logs from December 3, 2025, rotate secrets if the app was unpatched on December 4, and record your disclosure to deploy gap.
Print this. Work it top to bottom. Check items off in the incident channel so the next shift can see where you stopped.
Inventory
- [ ] Run
npm lsfor the three react-server-dom packages and Next.js in every frontend repo - [ ] Grep lockfiles and check running container versions
- [ ] List every affected service with owner, environment and version
Patch
- [ ] Upgrade to the latest fixed release in your line (React 19.0.1, 19.1.2, 19.2.1 or later patches; Next.js 15.0.5 to 16.0.7 lines)
- [ ] Rebuild and redeploy production, preview and canary
- [ ] Verify the version inside the running container
- [ ] Smoke test Server Component pages and Server Action forms
Hunt
- [ ] Search logs from December 3, 2025 for next-action headers and Flight markers
- [ ] Check for Node spawning curl, wget or PowerShell
- [ ] Diff authorized_keys files against your known good list
- [ ] Review cloud audit logs for the app role, weighted to November 2026
- [ ] Audit AI platform billing and token usage for spikes
- [ ] Review GitHub token activity and workflow runs
- [ ] Treat any hit on an unpatched app as compromise, rebuild clean
Rotate
- [ ] Rotate app secrets, database credentials and API keys
- [ ] Rotate cloud credentials and review role policies
- [ ] Revoke old values and alert on their use
Review
- [ ] Record disclosure time, first patched deploy, last environment fixed
- [ ] File the gaps: inventory misses, slow approvals, missing alerts
- [ ] Confirm the KEV patch SLA and CI scanning controls are in place
The teams that came through React2Shell and React2Keys cleanly were not lucky. They could list their apps, they had an emergency patch path, and they hunted before they declared victory. Build those three habits now, while the memory of the patch night is still fresh enough to fund them.
Frequently Asked Questions
Direct answers to common technical, architectural, and production troubleshooting questions.
What is the React2Keys campaign?
React2Keys was a ten day campaign in November 2026 that used the React2Shell flaw to steal credentials at scale. CloudSEK research, reported by BleepingComputer, counts more than 50,000 credentials from at least 19,000 hosts at 400 organizations. The attacker polled Certificate Transparency logs every three minutes, fingerprinted Next.js hosts, harvested cloud, AI and GitHub keys, validated them with AI tools, and planted SSH keys for persistence.
What is React2Shell?
React2Shell is CVE-2025-55182, a CVSS 10.0 unauthenticated remote code execution flaw in React Server Components. Unsafe deserialization in the Flight protocol lets one crafted request run code on the server. The React team disclosed it on December 3, 2025, with fixed packages the same day.
Which versions are affected by React2Shell?
The react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack packages at 19.0.0, 19.1.0, 19.1.1 and 19.2.0. That includes Next.js 15.x and 16.x App Router apps and 14.3.0-canary.77 or later canaries. Pages Router apps, the Edge Runtime, Next.js 13.x and 14.x stable are not affected.
How do I check if React2Keys hit my server?
Hunt logs from December 3, 2025. Look for POST requests with next-action or rsc-action-id headers, bodies containing $@ or resolved_model markers, /etc/passwd access attempts, and Node processes spawning curl, wget or PowerShell. Any hit on an app that was unpatched at the time means treat the host as compromised.
Do I need to rotate secrets after React2Keys?
Yes, if your app was online and unpatched on December 4, 2025 at 1:00 PM PT, the line in the Next.js advisory. Rotate application secrets, database credentials, API keys and cloud credentials the app could reach, revoke the old values, and alert on any later use of them.