File disclosure in hbs
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| multiparty | hbs | all | — | No fix listed | CNA |
| — | hbs (npm) | up to 4.4.0 | — | No fix listed | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:hbs_project:hbs:-:*:*:*:*:node.js:*:* | not specified by NVD | Vulnerable | Hbs 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
- 2026-10-02 Threatist record created from CVE-2021-32822
- 2026-10-03 Alias added: GHSA-7f5c-rpf4-86p8
References
More multiparty vulnerabilities
- 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
Sources
- CVE-2021-32822 · CVE Program
- CVE-2021-32822 · NVD
- FIRST EPSS
- GHSA-7f5c-rpf4-86p8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences