Skip to content
Sign in
CVE-2026-48008.1HighCWE-94

CVE-2026-4800: lodash vulnerable to Code Injection via `_.template` imports key names

lodash

Vendor fix available · Affected: lodash · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

2.8%probability of exploitation in the next 30 days
86th percentile
050100

Higher than 86% of scored CVEs

8.1HighCVSS 3.1
LowHigh

DescriptionCVE.org

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.

Affected products4

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • lodash · lodashfrom 4.0.0 before 4.18.1
  • lodash · lodash-esfrom 4.0.0 before 4.18.1
  • lodash · lodash-amdfrom 4.0.0 before 4.18.1
  • lodash · lodash.templatefrom 4.0.0 before 4.18.1

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
lodash
Published
March 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-4800 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

28 more references are in the CVE record.

Updated AboutDevelopersSign in