CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1) in golang go. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.25.10, 1.26.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nstdlib (Go): fixed in 1.25.10, 1.26.3Explain CVE-2026-39826 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39826?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39826?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-39826 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Go standard library html/template | before 1.25.10 |
| Go standard library html/template | from 1.26.0-0 before 1.26.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2026-4980 | Go | stdlib | <1.25.10 >=1.26.0-0 <1.26.3 | 1.25.10, 1.26.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-1.19 | no fix listed | DEBIAN-CVE-2026-39826 |
| Debian | 13 | golang-1.24 | no fix listed | DEBIAN-CVE-2026-39826 |
| Debian | 14 | golang-1.26 | 1.26.3-1 | DEBIAN-CVE-2026-39826 |
| Ubuntu | 14.04:LTS | golang-1.10 | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9, golang-1.10 | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14, golang-1.18 and 3 more | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | 22.04:LTS | golang-1.17, golang-1.18, golang-1.20 and 5 more | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | 24.04:LTS | golang-1.21, golang-1.22, golang-1.23 and 2 more | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | 25.10, 26.04:LTS | golang-1.23, golang-1.24, golang-1.25 | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | Pro:16.04:LTS | golang-1.13, golang-1.18 | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | Pro:18.04:LTS | golang-1.13, golang-1.16, golang-1.18 | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | Pro:20.04:LTS | golang-1.16 | no fix listed | UBUNTU-CVE-2026-39826 |
| Ubuntu | Pro:22.04:LTS | golang-1.13 | no fix listed | UBUNTU-CVE-2026-39826 |
| Red Hat | enterprise_linux:8::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2026:22112 |
| Red Hat | enterprise_linux:8::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 |
| Red Hat | enterprise_linux:9::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.26.3-1.el9_8 | RHSA-2026:22121 |
| Red Hat | enterprise_linux:10.2 | golang, go-toolset, golang-bin and 5 more | 0:1.26.3-4.el10_2 | RHSA-2026:22120 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | go1.25-openssl | 1.25.12-160000.1.1 | SUSE-SU-2026:22638-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | go1.26-openssl | 1.26.4-160000.1.1 | SUSE-SU-2026:22572-1 |
| openSUSE | Leap 16.0 | go1.25-openssl | 1.25.12-160000.1.1 | openSUSE-SU-2026:21319-1 |
| openSUSE | Leap 16.0 | go1.26-openssl | 1.26.4-160000.1.1 | openSUSE-SU-2026:21254-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE | Tumbleweed | go1.25 | 1.25.10-1.1 | openSUSE-SU-2026:10723-1 |
| openSUSE | Tumbleweed | go1.26 | 1.26.3-1.1 | openSUSE-SU-2026:10741-1 |
| AlmaLinux | 8 | delve | 1.25.2-1.module_el8.10.0+4074+24330916 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang, go-toolset, golang-bin and 5 more | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 9 | golang, go-toolset, golang-bin and 5 more | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| Rocky Linux | 8 | delve | 0:1.25.2-1.module+el8.10.0+40035+ee0a7047 | RLSA-2026:22112 |
| Rocky Linux | 8 | golang | 0:1.25.10-1.module+el8.10.0+40200+0fd0f175 | RLSA-2026:22112 |
| Rocky Linux | 9 | golang | 0:1.26.3-1.el9_8 | RLSA-2026:22121 |
| Rocky Linux | 10 | golang | 0:1.26.3-4.el10_2 | RLSA-2026:22120 |
| Alpine | v3.23 | go | 1.25.10-r0 | ALPINE-CVE-2026-39826 |
| Alpine | v3.24 | go | 1.26.3-r0 | ALPINE-CVE-2026-39826 |
| Alpine | v3.24 | rclone | 1.74.1-r0 | ALPINE-CVE-2026-39826 |
| Azure Linux | 3 | golang | no fix listed | AZL-98976 |
| Alpaquita | 23, 25 | go | 1.25.10-r0 | BELL-CVE-2026-39826 |
| Alpaquita | stream | go | 1.26.3-r0 | BELL-CVE-2026-39826 |
| BellSoft Hardened Containers | 23, 25 | go | 1.25.10-r0 | BELL-CVE-2026-39826 |
| BellSoft Hardened Containers | stream | go | 1.26.3-r0 | BELL-CVE-2026-39826 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Moderate.
This Moderate cross-site scripting (XSS) vulnerability in Go's html/template package occurs when a script tag with an empty or whitespace-only 'type' attribute is used in a template, causing the template engine to incorrectly escape data passed into the script block. This requires a trusted template author to introduce the vulnerable template pattern before an attacker can inject malicious scripts.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | golang-0:1.26.3-4.el10_2 | Fixed 2026-06-01 | RHSA-2026:22120 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | golang-0:1.26.5-1.el10_0 | Fixed 2026-08-03 | RHSA-2026:49702 |
| Red Hat Enterprise Linux 8 | go-toolset:rhel8-8100020260518131104.a3795dee | Fixed 2026-06-01 | RHSA-2026:22112 |
| Red Hat Enterprise Linux 9 | golang-0:1.26.3-1.el9_8 | Fixed 2026-06-01 | RHSA-2026:22121 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | golang-0:1.26.5-1.el9_2 | Fixed 2026-08-31 | RHSA-2026:61253 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | golang-0:1.26.5-1.el9_4 | Fixed 2026-08-20 | RHSA-2026:57649 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | golang-0:1.26.5-1.el9_6 | Fixed 2026-08-03 | RHSA-2026:49712 |
| multicluster engine for Kubernetes 2.11 | multicluster-engine/backplane-rhel9-operator:1786911952 | Fixed 2026-08-19 | RHSA-2026:57194 |
| multicluster engine for Kubernetes 2.11 | multicluster-engine/hypershift-addon-rhel9-operator:1786912006 | Fixed 2026-08-19 | RHSA-2026:57194 |
| OpenShift API for Data Protection 1.6 | oadp/oadp-velero-rhel9:1784058822 | Fixed 2026-07-22 | RHSA-2026:43692 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel9 | Fix deferred | |
| cert-manager Operator for Red Hat OpenShift | cert-manager/jetstack-cert-manager-rhel9 | Fix deferred | |
| Compliance Operator | compliance/openshift-compliance-operator-bundle | Fix deferred | |
| Confidential Compute Attestation | build-of-trustee/trustee-rhel9-operator | Fix deferred | |
| Confidential Compute Attestation | confidential-compute-attestation-tech-preview/trustee-rhel9-operator | Fix deferred | |
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-monitor-rhel9 | Fix deferred | |
| Cryostat 4 | cryostat/cryostat-storage-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9 | Fix deferred | |
| Deployment Validation Operator | dvo/deployment-validation-rhel8-operator | Fix deferred | |
| 200 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-39826.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.