ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-33938

handlebars: Handlebars: Arbitrary code execution via @partial-block overwrite

Important No fix available CVE-2026-33938

Details

A flaw was found in Handlebars. A remote attacker can exploit this vulnerability by manipulating the @partial-block special variable within the template data context. By overwriting @partial-block with a specially crafted Abstract Syntax Tree (AST) through a helper, a subsequent invocation of {{> @partial-block}} will compile and execute the malicious AST. This enables arbitrary JavaScript execution on the server, leading to potential compromise of the system.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8389-ds-base
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-legacy-tools
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-libs
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-snmp
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-389-ds
All versions, will not be fixed
Red Hat:enterprise_linux:8python3-lib389
All versions, will not be fixed

References