PatchSiren cyber security CVE debrief
CVE-2026-97030 Go standard library CVE debrief
A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped. This vulnerability affects Go standard library deployments, particularly those using versions between 0 and 1.26.9 or 1.27.0-0 and 1.27.2. Defenders should assess exposure and prioritize patching. The issue is addressed in versions 1.26.9 and 1.27.2, which ensure proper escaping of the 'yield' keyword.
- Vendor
- Go standard library
- Product
- stdlib
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-08
- Original CVE updated
- 2026-11-14
- Advisory published
- 2026-10-08
- Advisory updated
- 2026-11-14
Who should care
Defenders responsible for Go standard library deployments, particularly those using versions between 0 and 1.26.9 or 1.27.0-0 and 1.27.2, should assess exposure and prioritize patching.
Why it matters
Defenders should prioritize verifying and applying patches for the Go standard library to prevent potential issues with template execution. This vulnerability may impact deployments using affected versions, and patching is recommended to ensure proper escaping of the 'yield' keyword.
- Verify and apply patches to prevent potential template execution issues
- Review and update template usage to ensure proper escaping of the 'yield' keyword
- Monitor for potential issues with template execution
Technical summary
The Go standard library's html/template package did not correctly escape the 'yield' keyword, potentially leading to issues with template execution. This vulnerability has been addressed in versions 1.26.9 and 1.27.2. The issue affects deployments using affected versions, and patching is recommended to ensure proper escaping of the 'yield' keyword. Defenders should prioritize verifying and applying patches for the Go standard library, particularly for versions between 0 and 1.26.9 or 1.27.0-0 and 1.27.2, to prevent potential issues with template execution.
Defensive priority
Defenders should prioritize verifying and applying patches for the Go standard library, particularly for versions between 0 and 1.26.9 or 1.27.0-0 and 1.27.2, to prevent potential issues with template execution.
Recommended defensive actions
- Verify and apply patches for the Go standard library
- Review and update template usage to ensure proper escaping of the 'yield' keyword
- Monitor for potential issues with template execution
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description, affected versions, and references to patches and reports. The Go standard library's html/template package did not correctly escape the 'yield' keyword, potentially leading to issues with template execution. This vulnerability has been addressed in versions 1.26.9 and 1.27.2. The source item and CVE record provide evidence of the vulnerability and its impact.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-97030 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-97030
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-97030 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-97030
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Recognize yield as regexp preceder keyword in html/template
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/Go/GO-2026-6600.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://go.dev/cl/840925
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://go.dev/issue/81823
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.