# CVE-2021-23369: Remote Code Execution (RCE)

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-12 · Modified: 2026-10-08
- Aliases: UBUNTU-CVE-2021-23369, DEBIAN-CVE-2021-23369, CGA-6cjc-4xp2-v2f2, CGA-8x6m-2rv3-q664, CGA-h6wm-552x-pvww, CGA-hf49-r2pw-q8qq, GHSA-f2jv-r9rf-7988, CGA-25wp-96cw-gf3h, CGA-265q-3jr9-f8rp, CGA-2qfm-h7hh-jpv5, CGA-2vcv-c9jg-m5wq, CGA-2x8m-qmgh-h9vr, CGA-339v-j86x-56xg, CGA-33mr-wvpg-vcww, CGA-354p-c8fp-mh9w, CGA-35gj-7c5c-96gx, CGA-35p2-xhpq-9g92, CGA-37jp-g8gh-h724, CGA-3f74-ppww-v269, CGA-3m4x-hv24-vq7x, CGA-3q8j-q5c7-97c2, CGA-4266-6v43-xf26, CGA-42vh-jff2-pq46, CGA-4324-xvfr-vmwp, CGA-45xh-gg7f-pxjm, CGA-4695-hmch-vcv4, CGA-4fh2-5r98-5c3q, CGA-4gwh-g345-5f6r, CGA-4j4q-qg46-xx92, CGA-4m3x-7p27-rfxg, CGA-4p8f-qqq9-4g6g, CGA-4q5j-53xv-2wg6, CGA-4rx8-fjm4-9rpf, CGA-4v6w-gvv6-gh2c, CGA-4xq8-fx99-fjxr, CGA-529p-g6wj-qhgg, CGA-53p2-8v47-fvp5, CGA-545f-qfhc-m5rv, CGA-54qj-5pf4-pv42, CGA-5582-2wpc-vxcr, CGA-56jv-5q32-276q, CGA-57cx-9mvg-p9rg, CGA-5h9j-hhjr-vcr9, CGA-5rm6-j3jf-cxvc, CGA-642j-67xq-xv3v, CGA-66r4-5crr-54wc, CGA-683x-c5gp-mq42, CGA-6cg2-x2vc-cf6q, CGA-6f8p-vfh8-gw67, CGA-6g85-4r24-2hf6, CGA-6j46-vwc6-2667, CGA-6v3q-c627-rvvx, CGA-729h-hrxh-f6mp, CGA-75fv-m62j-rrcr, CGA-7jc6-p6f3-vq8c, CGA-7p5r-p83f-6pvv, CGA-7r84-7cj3-pmvg, CGA-7w9x-p84f-xc88, CGA-8323-vgf2-wrp7, CGA-83r5-mc2q-vhfj, CGA-84h6-6jvg-57v8, CGA-84pr-c9vf-v6f2, CGA-8945-542x-4fwg, CGA-89r7-wr6q-wf8g, CGA-8mx5-pjr5-97rg, CGA-8qq4-35gr-cmv9, CGA-8rjg-hfvm-w4v8, CGA-8whf-7j6x-wvqg, CGA-8wp2-5m2w-cwmg, CGA-94c2-c92p-q88r, CGA-95jm-4fmh-7x4f, CGA-96g9-6283-grc5, CGA-c27c-qxr2-jmm7, CGA-c2fc-3w6m-mxrq, CGA-c6f4-q644-3p8j, CGA-cc4c-wh76-478x, CGA-ccmv-9wr2-7fjm, CGA-cmpq-q65j-6qpj, CGA-f24h-jgh5-6mjj, CGA-f25q-7wx2-gx54, CGA-f2c6-jm69-p9w9, CGA-f3hp-p7hj-3pqx, CGA-f5g3-f7rw-96p2, CGA-fcpp-q3qx-h32v, CGA-ff29-x27w-m3c3, CGA-ff9p-q4c9-5xxf, CGA-fggj-hg6r-54hv, CGA-frcj-qfvr-q272, CGA-fw9c-m3p3-7rgg, CGA-g437-8c8j-5q2x, CGA-g92j-86q9-2mmh, CGA-g9j2-pw53-57pw, CGA-gf2m-9rxq-jgpq, CGA-gxmj-qpqx-qjfp, CGA-gxwr-xm5f-pgcp, CGA-h64x-56wq-r9mg, CGA-h7hh-j2q8-phx5, CGA-hc53-fr5m-7xxw, CGA-hfxg-3fhr-38mr, CGA-hh5f-g6x2-hjvp, CGA-hhjg-h424-jfcx, CGA-hmwg-vhmp-32q3, CGA-hw3r-mpf9-7m87, CGA-j2fx-m8f3-hjh2, CGA-j2q8-gx9v-xf4f, CGA-j54f-7fmj-f642, CGA-j7w2-w47x-8xf2, CGA-j97f-pr5m-6hqf, CGA-jhjx-pq25-52f5, CGA-jhpv-4mjj-fvgq, CGA-jqh6-fcjf-ggr9, CGA-jvhx-c4vj-777q, CGA-m46p-wv9c-hmr5, CGA-m4ph-q2q2-r7jh, CGA-m4x2-783g-qmg6, CGA-m8fp-r2fv-cv36, CGA-mh93-7896-xhvc, CGA-mhfw-94xm-jvp4, CGA-mphp-2p24-w7jv, CGA-p4cq-vr27-8r46, CGA-p649-hmqw-h7hh, CGA-pcqm-h8jr-49rr, CGA-pgfv-8763-h6m2, CGA-pgqv-9cwh-5hc6, CGA-ppv9-q2r8-m8r8, CGA-prm8-3hfg-6pvc, CGA-w8fr-vw4x-5x9j, CGA-w9q5-4939-qxfx, CGA-x7ff-x4fp-jq47, CGA-pwxj-q6vp-35qv, CGA-px99-7g2g-6vgc, CGA-pxxg-qprg-5pvm, CGA-q396-287j-fmfg, CGA-qc2g-qqvw-g736, CGA-qfhp-8wmh-869c, CGA-qjch-f936-cg78, CGA-r485-9p33-mc44, CGA-r6vf-v22r-fq48, CGA-rf96-p6xv-x2ph, CGA-rmcj-2mq5-7g3p, CGA-rqww-ffm6-3fc5, CGA-rv52-4f9h-762h, CGA-rx8r-9g48-q55q, CGA-v2px-67r7-m7fr, CGA-v48g-q92r-pxpq, CGA-v8v9-wggj-p7m7, CGA-v8x3-hfvr-4rmg, CGA-vh24-37gg-7329, CGA-vj5c-hrmr-rfq3, CGA-wffj-hhcw-m97h, CGA-wpgj-59gr-hgg7, CGA-xg3c-f52w-8h67, CGA-xmr2-2hxm-5pw8, CGA-xq66-65m8-p24f, CGA-xqfc-g33c-98hw, CGA-fw4v-m7fh-594f, CGA-w75v-c533-mcr2, CGA-977x-35px-3fp5, CGA-hj7w-fgpm-p46m, CGA-pq2c-c7pr-q898, CGA-xw35-vmpp-6g8g, CGA-j82q-494j-xw6p, CGA-wj47-vpr2-ffqc, CGA-6vrr-99w8-jgvm
- Record: https://cvemate.com/vulnerability/CVE-2021-23369 · JSON: https://cvemate.com/vulnerability/CVE-2021-23369/json

## Description

```text
The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 7.028%, percentile 94.335%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 4 (reference)

## Affected (first 20 of 84)

- chainguard code-server (Chainguard): All versions (No fix recorded)
- chainguard code-server-compat (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-19.5 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-19.6 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-fips-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-fips-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-assets-fips-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)

## References

- <https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952>
- <https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8>
- <https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427>
- <https://security.netapp.com/advisory/ntap-20210604-0008/>
- <https://ubuntu.com/security/CVE-2021-23369>
- <https://www.cve.org/CVERecord?id=CVE-2021-23369>
- <https://security-tracker.debian.org/tracker/CVE-2021-23369>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23369>
- <https://github.com/wycats/handlebars.js>
- <https://security.netapp.com/advisory/ntap-20210604-0008>

---

Data as of 2026-12-05T08:13:13.303Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
