Arbitrary code execution via unvalidated imports keys
Published Mar 31, 2026 · Updated Sep 14, 2026
Code injection in Lodash 4.0.0 through 4.17.23 allows attackers to execute arbitrary code via crafted _.template imports keys. The compiler copies unvalidated options.imports key names, including inherited polluted keys, into parameters for a Function constructor. Exploitation requires an application to pass attacker-controlled import keys, and successful injection runs JavaScript with the application's privileges.
Summary
What happened
Code injection in Lodash 4.0.0 through 4.17.23 allows attackers to execute arbitrary code via crafted _.template imports keys. The compiler copies unvalidated options.imports key names, including inherited polluted keys, into parameters for a Function constructor. Exploitation requires an application to pass attacker-controlled import keys, and successful injection runs JavaScript with the application's privileges.
The record
- CVE
- CVE-2026-4800
- Published
- Mar 31, 2026
- Updated
- Sep 14, 2026
- Vendor
- Red Hat
- Product
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Classifications
- CWE-94, T1059.007
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 31, 2026CVE publishedPublication date reported by the CVE source.
- Sep 14, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2026-4800-POCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo