ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-4800

lodash: lodash: Arbitrary code execution via untrusted input in template imports

Important No fix available CVE-2026-4800

Details

A flaw was found in lodash. 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. Both paths flow into the same Function() constructor sink. 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().

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10librados-devel
All versions, no fix yet
Red Hat:enterprise_linux:10librados2
All versions, no fix yet
Red Hat:enterprise_linux:10libradospp-devel
All versions, no fix yet
Red Hat:enterprise_linux:10librbd-devel
All versions, no fix yet
Red Hat:enterprise_linux:10librbd1
All versions, no fix yet
Red Hat:enterprise_linux:8cockpit
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-bridge
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-dashboard
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-machines
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-packagekit
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-pcp
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-podman
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-storaged
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-system
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-ws
All versions, will not be fixed
Red Hat:enterprise_linux:9librados-devel
All versions, no fix yet
Red Hat:enterprise_linux:9librados2
All versions, no fix yet
Red Hat:enterprise_linux:9libradospp-devel
All versions, no fix yet
Red Hat:enterprise_linux:9librbd-devel
All versions, no fix yet
Red Hat:enterprise_linux:9librbd1
All versions, no fix yet

References