PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-48161 dai-shi CVE debrief

CVE-2026-48161 is a critical vulnerability in the react18-use package, a React 19 use hook shim. Malicious commits were introduced to the default branch between 2026-05-19 01:07:01 and 2026-05-19 15:20:43, which executed remote attacker-controlled code on developer machines during `npm install`. The commits were removed, but local clones, forks, and direct-SHA URLs may still contain them. Those who ran `npm install` against an affected checkout on a developer machine on or after 2026-05-19 01:07:01 should treat the machine as compromised.

Vendor
dai-shi
Product
react18-use
CVSS
CRITICAL 9.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-10
Original CVE updated
2026-09-18
Advisory published
2026-08-10
Advisory updated
2026-09-18

Who should care

Developers who ran `npm install` against an affected checkout on a developer machine on or after 2026-05-19 01:07:01 should treat the machine as compromised and take immediate action.

Why it matters

CVE-2026-48161 is a critical vulnerability in the react18-use package that allows for remote code execution on developer machines during `npm install`. Developers who ran `npm install` against an affected checkout should treat the machine as compromised and take immediate action.

  • Potential full compromise of machines reachable from a Node process with the user's permissions
  • Credential rotation and account activity auditing required
  • Machine cleanup and remediation necessary

Technical summary

The react18-use package, a React 19 use hook shim, was vulnerable to a critical exploit due to malicious commits introduced to the default branch between 2026-05-19 01:07:01 and 2026-05-19 15:20:43. The commits executed remote attacker-controlled code on developer machines during `npm install`. Those who ran `npm install` against an affected checkout on a developer machine on or after 2026-05-19 01:07:01 should treat the machine as compromised and take immediate action to rotate credentials, audit account activity, and clean local clones. The vulnerability allows for potential full compromise of machines reachable from a Node process with the user's permissions.

Defensive priority

High

Recommended defensive actions

  • Treat machines that ran `npm install` against an affected checkout as compromised
  • Rotate every credential the machine could reach
  • Audit account activity since 2026-05-19 01:07:01
  • Clean local clones
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details about the vulnerability, including the malicious commits and the affected package. However, the second-stage payload was attacker-hosted and cannot be reconstructed.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-48161 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-48161

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-48161 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-48161

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.