UBUNTU-CVE-2026-106446

Source
https://ubuntu.com/security/CVE-2026-106446
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-106446
Upstream
Published
2026-10-06T20:17:00Z
Modified
2026-10-17T12:58:00Z
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
  • Ubuntu - medium
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

Ubuntu:16.04:LTS
ruby-handlebars-assets

Package

Name
ruby-handlebars-assets
Purl
pkg:deb/ubuntu/ruby-handlebars-assets?arch=source&distro=xenial

Affected ranges

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

Affected versions

0.*
0.15-2
2:0.*
2:0.20.2-2
2:0.21.0-2
2:0.21.0-3
2:0.21.0-4
2:0.21.0-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjs-handlebars",
            "binary_version": "2:0.21.0-5"
        },
        {
            "binary_name": "libjs-handlebars.runtime",
            "binary_version": "2:0.21.0-5"
        },
        {
            "binary_name": "ruby-handlebars-assets",
            "binary_version": "2:0.21.0-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
Ubuntu:18.04:LTS
node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=source&distro=bionic

Affected ranges

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

Affected versions

3:4.*
3:4.0.10-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "handlebars",
            "binary_version": "3:4.0.10-5"
        },
        {
            "binary_name": "libjs-handlebars",
            "binary_version": "3:4.0.10-5"
        },
        {
            "binary_name": "libjs-handlebars.runtime",
            "binary_version": "3:4.0.10-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
ruby-handlebars-assets

Package

Name
ruby-handlebars-assets
Purl
pkg:deb/ubuntu/ruby-handlebars-assets?arch=source&distro=bionic

Affected ranges

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

Affected versions

2:0.*
2:0.23.1-1
2:0.23.2-2
2:0.23.2+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-handlebars-assets",
            "binary_version": "2:0.23.2+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
Ubuntu:20.04:LTS
node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=source&distro=focal

Affected ranges

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

Affected versions

3:4.*
3:4.1.0-1
3:4.5.3-1
3:4.7.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "handlebars",
            "binary_version": "3:4.7.2-1"
        },
        {
            "binary_name": "libjs-handlebars",
            "binary_version": "3:4.7.2-1"
        },
        {
            "binary_name": "libjs-handlebars.runtime",
            "binary_version": "3:4.7.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
ruby-handlebars-assets

Package

Name
ruby-handlebars-assets
Purl
pkg:deb/ubuntu/ruby-handlebars-assets?arch=source&distro=focal

Affected ranges

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

Affected versions

2:0.*
2:0.23.3+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-handlebars-assets",
            "binary_version": "2:0.23.3+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
Ubuntu:22.04:LTS
node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=source&distro=jammy

Affected ranges

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

Affected versions

3:4.*
3:4.7.6+~4.1.0-2
3:4.7.7+~4.1.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "handlebars",
            "binary_version": "3:4.7.7+~4.1.0-1"
        },
        {
            "binary_name": "libjs-handlebars",
            "binary_version": "3:4.7.7+~4.1.0-1"
        },
        {
            "binary_name": "libjs-handlebars.runtime",
            "binary_version": "3:4.7.7+~4.1.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
ruby-handlebars-assets

Package

Name
ruby-handlebars-assets
Purl
pkg:deb/ubuntu/ruby-handlebars-assets?arch=source&distro=jammy

Affected ranges

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

Affected versions

2:0.*
2:0.23.8+dfsg-3
2:0.23.8+dfsg-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-handlebars-assets",
            "binary_version": "2:0.23.8+dfsg-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
Ubuntu:24.04:LTS
node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=source&distro=noble

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

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "handlebars",
            "binary_version": "3:4.7.7+~4.1.0-1"
        },
        {
            "binary_name": "libjs-handlebars",
            "binary_version": "3:4.7.7+~4.1.0-1"
        },
        {
            "binary_name": "libjs-handlebars.runtime",
            "binary_version": "3:4.7.7+~4.1.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
ruby-handlebars-assets

Package

Name
ruby-handlebars-assets
Purl
pkg:deb/ubuntu/ruby-handlebars-assets?arch=source&distro=noble

Affected ranges

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

Affected versions

2:0.*
2:0.23.9+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-handlebars-assets",
            "binary_version": "2:0.23.9+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
Ubuntu:26.04:LTS
node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=source&distro=resolute

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

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "handlebars",
            "binary_version": "3:4.7.7+~4.1.0-1"
        },
        {
            "binary_name": "libjs-handlebars",
            "binary_version": "3:4.7.7+~4.1.0-1"
        },
        {
            "binary_name": "libjs-handlebars.runtime",
            "binary_version": "3:4.7.7+~4.1.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"
Ubuntu:26.10
node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=source&distro=stonking

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-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "handlebars",
            "binary_version": "3:4.7.9-5"
        },
        {
            "binary_name": "libjs-handlebars",
            "binary_version": "3:4.7.9-5"
        },
        {
            "binary_name": "libjs-handlebars.runtime",
            "binary_version": "3:4.7.9-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106446.json"