CVE-2026-4800
Publication date 31 March 2026
Last updated 9 June 2026
Ubuntu priority
Cvss 3 Severity Score
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 trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-8411-1
- Lodash vulnerabilities
- 9 June 2026