Read the docs
TI-2021-12487 Aliases CVE-2021-32822GHSA-7f5c-rpf4-86p8

File disclosure in hbs

Priority LOW 26CWE-538Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution, Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94 and CWE-200.

Summary

The npm hbs package is an Express view engine wrapper for Handlebars. Depending on usage, users of hbs may be vulnerable to a file disclosure vulnerability. There is currently no patch for this vulnerability. hbs mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options a file disclosure vulnerability may be triggered in downstream applications. For an example PoC see the referenced GHSL-2021-020.

Why it matters now

EPSS 0.00982 62nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
multipartyhbsall—No fix listedCNA
—hbs (npm)up to 4.4.0—No fix listedGHSA-7f5c-rpf4-86p8
  • hbs Vendormultiparty Affected all Fixed in — No fix listed CNA
  • hbs (npm) Vendor— Affected up to 4.4.0 Fixed in — No fix listed GHSA-7f5c-rpf4-86p8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:hbs_project:hbs:-:*:*:*:*:node.js:*:*not specified by NVDVulnerableHbs Project
  • cpe:2.3:a:hbs_project:hbs:-:*:*:*:*:node.js:*:* Versions not specified by NVD Vulnerable ·Hbs Project

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32822
  2. 2026-10-03 Alias added: GHSA-7f5c-rpf4-86p8

References

  • TI-2024-35311 path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x CVSS 4.0HIGH 7.7
  • TI-2024-30367 path-to-regexp outputs backtracking regular expressions CVSS 3.1HIGH 7.5
  • TI-2026-04296 path-to-regexp vulnerable to Denial of Service via sequential optional groups CVSS 3.1HIGH 7.5
  • TI-2026-59975 multiparty vulnerable to Denial of Service via unbounded part-header accumulation CVSS 3.1HIGH 7.5
  • TI-2026-07187 multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing CVSS 3.1HIGH 7.5
  • TI-2026-07186 multiparty vulnerable to Denial of Service via Prototype Pollution leading to Uncaught Exception CVSS 3.1HIGH 7.5
See all 10 →

Sources