CVE-2026-94448

GO-2026-6599 · published 8 Oct 2026 · updated 14 Nov 2026

Reset context tracking on consecutive template expressions in html/template

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.26.9, 1.27.2 and stdlib 1.27.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.26.9, >=1.27.0-0 <1.27.21.26.9, 1.27.2
go: stdlib>=1.27.0-0 <1.27.21.27.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in stdlib (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-94448 severity on Zeptric[![CVE-2026-94448](https://zeptric.io/badge/cve/CVE-2026-94448.svg)](https://zeptric.io/cve/CVE-2026-94448)