CVE-2026-48159
use-reducer-async was vulnerable to malicious code execution via compromised commits
Description
use-reducer-async is a React useReducer with async actions. Between 2026-05-18 16:29:52 and 2026-05-19 15:26:07, the default branch contained malicious commits da72edbde5705efcec6c62e0a3dcb73687b78dc8 through df07d5711458d8b46e11dd7afaaa21e88cafabfb 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-18 16:29:52 should treat the machine as compromised, rotate every credential the machine could reach, audit account activity since 2026-05-18 16:29:52, and clean local clones.
INFO
Published Date :
Aug. 10, 2026, 6:17 p.m.
Last Modified :
Oct. 23, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-48159
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | CRITICAL | [email protected] |
Solution
- Remove malicious commits from local clones and forks.
- Remove or clean affected local checkouts.
- Rotate all credentials accessible by affected machines.
- Audit account activity since the compromise began.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-48159.
| URL | Resource |
|---|---|
| https://github.com/dai-shi/use-reducer-async/security/advisories/GHSA-2786-p4vj-vx8x |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-48159 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-48159
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-48159 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-48159 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 23, 2026
Action Type Old Value New Value Added Translation Title: use-reducer-async de dai-shi, Description: use-reducer-async es un useReducer de React con acciones asíncronas. Entre el 2026-05-18 16:29:52 y el 2026-05-19 15:26:07, la rama predeterminada contenía commits maliciosos desde da72edbde5705efcec6c62e0a3dcb73687b78dc8 hasta df07d5711458d8b46e11dd7afaaa21e88cafabfb que ejecutaban código controlado por el atacante remoto en máquinas de desarrolladores durante “npm install”. Los commits fueron eliminados mediante un force-push, pero los clones locales, los forks y las URL de SHA directo aún pueden contenerlos, y “npm install” contra un checkout afectado todavía ejecutará el código hoy. El paquete no fue publicado en npm. “src/install.js” fue añadido e integrado en el script “postinstall”. Obtuvo una carga útil de JavaScript desde un endpoint HTTPS controlado por el atacante (configurable mediante una variable de entorno), desactivó la verificación TLS y evaluó la respuesta como código con “require” disponible. La ejecución fue omitida deliberadamente en entornos de CI y de nube/serverless, dirigiéndose a estaciones de trabajo de desarrolladores. La carga útil de segunda etapa estaba alojada por el atacante y no puede ser reconstruida. Asuma un compromiso total de cualquier cosa accesible desde un proceso de Node con los permisos del usuario. Aquellos que ejecutaron “npm install” contra un checkout afectado en una máquina de desarrollador el o después del 2026-05-18 16:29:52 deben tratar la máquina como comprometida, rotar cada credencial a la que la máquina pudo acceder, auditar la actividad de la cuenta desde el 2026-05-18 16:29:52 y limpiar los clones locales. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 11, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-48159', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-11T02:03:03.295661Z'} -
New CVE Received by [email protected]
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'dai-shi', 'product': 'use-reducer-async', 'versions': [{'status': 'affected', 'version': '>= da72edbde5705efcec6c62e0a3dcb73687b78dc8, <= df07d5711458d8b46e11dd7afaaa21e88cafabfb'}]}] Added Description use-reducer-async is a React useReducer with async actions. Between 2026-05-18 16:29:52 and 2026-05-19 15:26:07, the default branch contained malicious commits da72edbde5705efcec6c62e0a3dcb73687b78dc8 through df07d5711458d8b46e11dd7afaaa21e88cafabfb 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-18 16:29:52 should treat the machine as compromised, rotate every credential the machine could reach, audit account activity since 2026-05-18 16:29:52, and clean local clones. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-506 Added Reference https://github.com/dai-shi/use-reducer-async/security/advisories/GHSA-2786-p4vj-vx8x