CVE-2026-4800

Publication date 31 March 2026

Last updated 9 June 2026


Ubuntu priority

Cvss 3 Severity Score

8.1 · High

Score breakdown

Description

Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. 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. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function(). Patches: Users should upgrade to version 4.18.0. Workarounds: Do not pass untrusted input as key names in options.imports. Only use developer-controlled, static key names.

Status

Package Ubuntu Release Status
node-lodash 26.04 LTS resolute
Fixed 4.17.23+dfsg-1ubuntu0.1~esm1
25.10 questing
Fixed 4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.25.10.1
24.04 LTS noble
Fixed 4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.24.04.1~esm1
22.04 LTS jammy
Fixed 4.17.21+dfsg+~cs8.31.198.20210220-5ubuntu0.1~esm1
20.04 LTS focal
Fixed 4.17.15+dfsg-2ubuntu0.1~esm1
18.04 LTS bionic
Fixed 4.17.4+dfsg-1ubuntu0.1~esm1
16.04 LTS xenial Ignored end of ESM support, was needs-triage

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
node-lodash

Severity score breakdown

CVSS version: CVSS v3.0

Base score 8.1 · High

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H


Access our resources on patching vulnerabilities