Skip to main content
← All vulnerabilities
CVE-2026-94448GO-2026-6599BIT-GOLANG-2026-94448

Reset context tracking on consecutive template expressions in html/template

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.26.9, 1.27.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • html/template

    fixed in 1.26.9; From 1.27.0-0 · fixed in 1.27.2

  • stdlibGo

    fixed in 1.26.9; From 1.27.0-0 · fixed in 1.27.2

References 4

go.dev

groups.google.com

pkg.go.dev