DEBIAN-CVE-2026-106446

Source
https://security-tracker.debian.org/tracker/CVE-2026-106446
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106446.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-106446
Upstream
Published
2026-10-06T20:17:26Z
Modified
2026-10-08T10:00:51Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10, Handlebars.compile() and Handlebars.precompile() accept pre-parsed AST objects while validating only selected PathExpression, NumberLiteral, and BooleanLiteral values. This issue bypasses the AST validation introduced in version 4.7.9 for CVE-2026-33937. An attacker who can supply an object instead of a template string can place JavaScript expressions in unchecked values such as Program.blockParams.length, a non-PathExpression parameter depth, a non-string StringLiteral.value, or a non-string PathExpression.original. The compiler emits those values into generated JavaScript, causing code execution in the server process when compile output renders or wherever precompile output is loaded. Applications that pass only template strings are not affected. This issue is fixed in version 4.7.10.

References

Affected packages

Debian:12 / node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/debian/node-handlebars?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3:4.*
3:4.7.7+~4.1.0-1
3:4.7.9-1
3:4.7.9-2
3:4.7.9-3
3:4.7.9-4
3:4.7.9-5
3:4.7.9-6
3:4.7.10-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106446.json"

Debian:13 / node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/debian/node-handlebars?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3:4.*
3:4.7.7+~4.1.0-1
3:4.7.9-1
3:4.7.9-2
3:4.7.9-3
3:4.7.9-4
3:4.7.9-5
3:4.7.9-6
3:4.7.10-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106446.json"

Debian:14 / node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/debian/node-handlebars?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3:4.*
3:4.7.7+~4.1.0-1
3:4.7.9-1
3:4.7.9-2
3:4.7.9-3
3:4.7.9-4
3:4.7.9-5
3:4.7.9-6
3:4.7.10-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106446.json"