Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-33941

Fixed in a distro release EPSS <1%CVSS 8.3

Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, the Handlebars CLI precompiler (`bin/handlebars` / `lib/precompiler.js`) concatenates user-controlled strings — template file names and several CLI options — directly into the JavaScript it emits, without any escaping or sanitization. An attacker who can influence template filenames or CLI arguments can inject arbitrary JavaScript that executes when the generated bundle is loaded in Node.js or a browser. Version 4.7.9 fixes the issue. Some workarounds are available. First, validate all CLI inputs before invoking the precompiler. Reject filenames and option values that contain characters with JavaScript string-escaping significance (`"`, `'`, `;`, etc.). Second, use a fixed, trusted namespace string passed via a configuration file rather than command-line arguments in automated pipelines. Third, run the precompiler in a sandboxed environment (container with no write access to sensitive paths) to limit the impact of successful exploitation. Fourth, audit template filenames in any repository or package that is consumed by an automated build pipeline.

Published 2026-03-27 · CVE record · OSV

Products: handlebars-lang handlebars.js, Red Hat Cluster Observability Operator 1.5.0, Red Hat OpenShift Dev Spaces 3.27, Red Hat Cryostat 4, Logging Subsystem for Red Hat OpenShift, Red Hat Data Grid 8, Red Hat Developer Hub, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift AI (RHOAI), Red Hat Process Automation 7

Fixed upstream

EcosystemPackageFixed in
npmhandlebars4.7.9

Distro releases

ReleasePackageFixed in
Chainguardgitlab-rails-ce-18.118.1.6-r14
Chainguardgitlab-rails-ce-18.10no fix
Chainguardgitlab-rails-ce-18.1118.11.6-r2
Chainguardgitlab-rails-ce-18.5no fix
Chainguardgitlab-rails-ce-18.6no fix
Chainguardgitlab-rails-ce-18.7no fix
Chainguardgitlab-rails-ce-18.8no fix
Chainguardgitlab-rails-ce-18.9no fix
Chainguardgitlab-rails-ce-19.019.0.3-r1
Chainguardgitlab-rails-ce-19.119.1.1-r6
Chainguardgitlab-rails-ce-assets-fips-19.419.4.0-r2
Chainguardgitlab-rails-ce-fips-18.118.1.6-r15
Chainguardgitlab-rails-ce-fips-18.1018.10.8-r8
Chainguardgitlab-rails-ce-fips-18.1118.11.6-r1
Chainguardgitlab-rails-ce-fips-18.5no fix
Chainguardgitlab-rails-ce-fips-18.6no fix
Chainguardgitlab-rails-ce-fips-18.7no fix
Chainguardgitlab-rails-ce-fips-18.8no fix
Chainguardgitlab-rails-ce-fips-18.918.9.8-r8
Chainguardgitlab-rails-ce-fips-19.019.0.3-r1
Chainguardgitlab-rails-ce-fips-19.119.1.1-r1
Chainguardjupyter-base-notebook7.6.3-r2
Chainguardkibana-7no fix
Chainguardkibana-8.178.17.10-r15
Chainguardkibana-8.17-bitnami8.17.10-r15
Chainguardkibana-8.17-iamguarded8.17.10-r15
Chainguardkibana-8.188.18.8-r11
Chainguardkibana-8.18-bitnami8.18.8-r11
Chainguardkibana-8.18-iamguarded8.18.8-r11
Chainguardkibana-8.198.19.13-r5
Chainguardkibana-8.19-bitnami8.19.13-r5
Chainguardkibana-8.19-iamguarded8.19.13-r5
Chainguardkibana-9.09.0.8-r16
Chainguardkibana-9.0-bitnami9.0.8-r16
Chainguardkibana-9.0-iamguarded9.0.8-r16
Chainguardkibana-9.19.1.10-r9
Chainguardkibana-9.1-iamguarded9.1.10-r9
Chainguardkibana-9.29.2.7-r2
Chainguardkibana-9.2-iamguarded9.2.7-r2
Chainguardkibana-9.39.3.2-r2
Chainguardkibana-9.3-iamguarded9.3.2-r2
Chainguardlerna9.0.7-r2
Chainguardnextcloud-server-31no fix
Chainguardnextcloud-server-3232.0.12-r1
Chainguardopensearch-dashboards-22.19.5-r5
Chainguardopensearch-dashboards-2-fips2.19.5-r4
Chainguardopensearch-dashboards-33.5.0-r12
Chainguardopensearch-dashboards-3-fips3.5.0-r9
Chainguardpelias-api7.6.0-r5
Chainguardprism5.14.3-r13
Chainguardpy3.10-jupyterlab4.6.1-r1
Chainguardpy3.11-jupyterlab4.6.1-r1
Chainguardpy3.12-jupyterlab4.6.1-r1
Chainguardpy3.13-jupyterlab4.6.1-r1
Chainguardrancher-api-ui1.2.3-r8
Chainguardtensorflow-cpu-jupyter2.21.0-r8
Chainguardtensorflow-gpu-jupyter2.21.0-r12
Chainguardtileserver-gl-fips5.5.0-r11
Chainguardts-patch4.0.1-r0
Chainguardwazuh-dashboard4.14.4-r1
Chainguardwazuh-dashboard-security-plugin-fips4.14.5-r8
Debian 12node-handlebarsno fix
Debian 13node-handlebarsno fix
Debian 14node-handlebars3:4.7.9-1
Ubuntu 18.04 LTSnode-handlebarsno fix
Ubuntu 20.04 LTSnode-handlebarsno fix
Ubuntu 22.04 LTSnode-handlebarsno fix
Ubuntu 24.04 LTSnode-handlebarsno fix
Ubuntu 25.10node-handlebarsno fix
Ubuntu 26.04 LTSnode-handlebarsno fix
Ubuntu 26.10node-handlebarsno fix
Wolfijupyter-base-notebook7.6.3-r2
Wolfilerna9.0.7-r2
Wolfinextcloud-server-3232.0.12-r1
Wolfiopensearch-dashboards-33.5.0-r12
Wolfiprism5.14.3-r13
Wolfipy3.10-jupyterlab4.6.1-r1
Wolfipy3.11-jupyterlab4.6.1-r1
Wolfipy3.12-jupyterlab4.6.1-r1
Wolfipy3.13-jupyterlab4.6.1-r1
Wolfirancher-api-ui1.2.3-r8
Wolfits-patch4.0.1-r0