GO-2026-6599

Source
https://pkg.go.dev/vuln/GO-2026-6599
Import Source
https://vuln.go.dev/ID/GO-2026-6599.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6599
Aliases
  • CVE-2026-94448
Published
2026-10-08T22:31:09Z
Modified
2026-10-08T23:00:13Z
Summary
Reset context tracking on consecutive template expressions in html/template
Details

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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6599"
}
References

Affected packages

Go / stdlib

Package

Name
stdlib
View open source insights on deps.dev
Purl
pkg:golang/stdlib

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.26.9
Introduced
1.27.0-0
Fixed
1.27.2

Ecosystem specific

{
    "imports": [
        {
            "path": "html/template",
            "symbols": [
                "Template.Execute",
                "Template.ExecuteTemplate",
                "tJSTmpl"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6599.json"