All CVEs / Go standard library
CVE-2026-94448Go standard library html/template
Medium 6.1 No auth needed
Follow: this CVE · Go standard library · Go standard library html/template We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 8, 2026
- Updated
- Oct 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.
What to do
- Apply the vendor's security update for html/template.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.26.9 |
1.26.9 |
go get stdlib@v1.26.9 |
| Go | stdlib |
≥ 1.27.0-0 < 1.27.2 |
1.27.2 |
go get stdlib@v1.27.2 |
Per OSV / GitHub Advisories (GO-2026-6599). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · html/template
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:90994 · Nov 23, 2026 High
- Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:87245 · Nov 23, 2026 High
- Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:87246 · Nov 23, 2026 High
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:24730-1 · Nov 12, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:22336-1 · Nov 12, 2026 Critical
- Security update for go1.26-openssl · SUSE · SUSE-SU-2026:4867-1 · Oct 22, 2026 Critical
Also: Red Hat (+7), SUSE (+10)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.