CVE-2026-48158: Vulnerability in Dai-shi Use-context-selector

Critical. use-context-selector is a React useContextSelector hook in userland Between 2026-05-18 15:57:18 and 2026-05-19 15:24:34, the default branch contained malicious commits 9d8481a513b7b0d1c0941b220c69b25de748641b through 6f2dae054ca014068bdbbb4db96006424d674124 that executed remote attacker-controlled code on developer machines during npm install. The commits were removed by force-push, but local clones, forks, and...

CWE-506

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-506
Published
10 Aug 2026
Last change
23 Oct 2026

Affected products

Affected versions and the first fixed release

  • Dai-shi Use-context-selector Version >= 9d8481a513b7b0d1c0941b220c69b25de748641b, <= 6f2dae054ca014068bdbbb4db96006424d674124. No fixed version recorded

Advisories

Vendor and security advisories

Related