CVE-2026-4800Lodash
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Lodash · Lodash Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 31 mar 2026
- Actualizada
- 15 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same validation to options.imports key names, and both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in, so if Object.prototype has been polluted by another vector the polluted keys are copied into the imports object and passed to Function(). The issue is fixed in 4.18.1 for lodash, lodash-es, lodash-amd, and lodash.template. As a workaround, do not pass untrusted input as key names in options.imports; use only developer-controlled, static key names.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Lodash.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | lodash |
≥ 4.0.0 < 4.18.0 |
4.18.0 |
npm install lodash@4.18.0 |
| npm | lodash-amd |
≥ 4.0.0 < 4.18.0 |
4.18.0 |
npm install lodash-amd@4.18.0 |
| npm | lodash-es |
≥ 4.0.0 < 4.18.0 |
4.18.0 |
npm install lodash-es@4.18.0 |
| npm | lodash.template |
≥ 4.0.0 < 4.18.0 |
4.18.0 |
npm install lodash.template@4.18.0 |
Según OSV / GitHub Advisories (GHSA-r5fr-rjxr-66jc). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| lodash | lodash | ≥ 4.0.0 < 4.18.0 |
| lodash | lodash-amd | ≥ 4.0.0 < 4.18.0 |
| lodash | lodash-es | ≥ 4.0.0 < 4.18.0 |
| lodash | lodash.template | ≥ 4.0.0 < 4.18.0 |
Boletines oficiales
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update · Red Hat · RHSA-2026:42078 · 23 nov 2026 Alta
- Red Hat Security Advisory: cockpit-podman security update · Red Hat · RHSA-2026:97537 · 13 nov 2026 Alta
- Red Hat Security Advisory: cockpit-files security update · Red Hat · RHSA-2026:97538 · 13 nov 2026 Alta
Además: Red Hat (+20)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- cna.openjsf.org Third Party Advisory
- github.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com