CVEBrief

Home / dai-shi / react18-use / CVE-2026-48161

CVE-2026-48161: is it exploited, and which versions of dai-shi react18-use are affected and fixed?

CVE-2026-48161 is an embedded Malicious Code vulnerability in dai-shi react18-use. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: react18-use >= 7b79148d1495a2505f9277da295a98cf176f4496, <= 7b79148d1495a2505f9277da295a98cf (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.3, CVSS 4.0, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
react18-use >= 7b79148d1495a2505f9277da295a98cf176f4496, <= 7b79148d1495a2505f9277da295a98cf
CVE record by GitHub_M
Fixed in
Not listed
check the vendor advisory
Severity
Critical 9.3
CVSS 4.0 from GitHub_M
Exploit odds (EPSS)
0.42% in 30 days
higher than 38% of CVEs; FIRST, December 2, 2026

What is CVE-2026-48161?

react18-use was vulnerable to malicious code execution via compromised commits

react18-use is a React 19 use hook shim. Between 2026-05-19 01:07:01 and 2026-05-19 15:20:43, the default branch contained malicious commits 7b79148d1495a2505f9277da295a98cf176f4496 through 7b79148d1495a2505f9277da295a98cf176f4496 that executed remote attacker-controlled code on developer machines during `npm install`. The commits were removed by force-push, but local clones, forks, and direct-SHA URLs may still contain them, and `npm install` against an affected checkout will still execute the code today. The package was not published to npm. `src/install.js` was added and wired into the `postinstall` script. It fetched a JavaScript payload from an attacker-controlled HTTPS endpoint (configurable via an environment variable), disabled TLS verification, and evaluated the response as code with `require` available. Execution was deliberately skipped on CI and cloud/serverless environments, targeting developer workstations. The second-stage payload was attacker-hosted and cannot be reconstructed. Assume full compromise of anything reachable from a Node process with the user's permissions. 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, rotate every credential the machine could reach, audit account activity since 2026-05-19 01:07:01, and clean local clones.

From the CVE record by GitHub_M, last updated August 11, 2026, 17:08 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
dai-shireact18-use>= 7b79148d1495a2505f9277da295a98cf176f4496, <= 7b79148d1495a2505f9277da295a98cf

As the CVE record by GitHub_M states it, last updated August 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-48161?

ScoreVersionVectorSource
Critical 9.3CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-48161 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 11, 2026)
EPSS
0.42% probability of exploitation activity in the next 30 days, percentile 38.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 20, 2026
Published
August 10, 2026, 22:27 UTC
CVE record updated
August 11, 2026, 17:08 UTC by GitHub_M
NVD
Deferred, last modified October 23, 2026, 19:10 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2026-48161

Is CVE-2026-48161 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of dai-shi react18-use are affected by CVE-2026-48161?

react18-use >= 7b79148d1495a2505f9277da295a98cf176f4496, <= 7b79148d1495a2505f9277da295a98cf, per the CVE record by GitHub_M. The tables above give every range the sources list.

Which version fixes CVE-2026-48161?

None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.

How severe is CVE-2026-48161?

Critical (9.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2026-48161?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.