Skip to main content

Golang CVE-2026-27137

HIGH
Improper Certificate Validation (CWE-295)
2026-03-06 security@golang.org
7.5
CVSS 3.1 · Vendor: golang
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain subordinate CA certificate
  2. Delivery
    Craft cert with multiple email constraints
  3. Exploit
    Present malicious cert chain
  4. Install
    Trigger validation in Go 1.26.0 app
  5. C2
    Bypass namespace restrictions
  6. Execute
    Authenticate as unauthorized user
  7. Impact
    Access restricted resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires the target application to be compiled with Go 1.26.0 AND to implement X.509 certificate chain validation that enforces email address Name Constraints for authentication or authorization decisions. The attacker must possess or be able to obtain a subordinate CA certificate from a certificate authority that uses RFC 5280 Name Constraints with email address (rfc822Name) restrictions. The vulnerability is only exploitable when the legitimate CA has configured multiple email constraints with overlapping local parts but different domains, or when an attacker can craft such certificates under a constrained subordinate CA. Applications that do not use email-based certificate validation, use Go versions other than 1.26.0, or rely solely on domain-based rather than email-based constraints are not vulnerable. The CVSS vector AV:N/AC:L/PR:N/UI:N indicates no special network positioning, low attack complexity, no privileges required, and no user interaction needed once the prerequisite conditions (vulnerable Go version and email constraint validation) are met. The specific narrow scope (applications using email-based cert validation with Go 1.26.0) significantly limits exploitation surface compared to the CVSS vector's indication of unrestricted network attack.

Impact

Real-world risk appears moderate despite the CVSS base score of 7.5 (High severity). The CVSS vector AV:N/AC:L/PR:N/UI:N indicates network-accessible exploitation without authentication or user interaction, which would typically signal high risk. However, the impact is rated C:N/I:N/A:H (no confidentiality or integrity impact, high availability impact), which contradicts the expected consequences of a certificate validation bypass - such flaws typically enable integrity violations (impersonation/MITM) rather than availability issues. This CVSS impact rating appears potentially miscategorized. The EPSS score of 0.03% (9th percentile) suggests security researchers assess actual exploitation probability as very low, likely because exploitability requires attackers to obtain certificates from CAs using name constraints AND the victim application must rely on email-based certificate validation. No active exploitation confirmed (not in CISA KEV) and no public exploit code identified. Multiple vendor advisories from Red Hat and SUSE indicate downstream distributions have prioritized patching, suggesting they assess this as a credible threat to enterprise environments. The primary risk scenario involves applications using client certificate authentication with email-based identity validation, where an attacker with a subordinate CA certificate could bypass namespace restrictions. The discrepancy between high CVSS and low EPSS warrants careful environmental assessment - organizations using Go applications with email-based certificate validation should prioritize this, while those without such configurations face minimal practical risk.

Exploit ScenarioDerived

An attacker obtains a subordinate CA certificate from a certificate authority that uses name constraints to restrict issuance to specific email domains (e.g., constrained to issue certificates only for @trusted.example.com). The attacker crafts a certificate containing multiple email address constraints where the local part matches but domains differ (e.g., user@trusted.example.com and user@attacker.com), exploiting the validation bug that only checks the final constraint. When a Go 1.26.0 application validates this certificate chain for email-based authentication, it incorrectly accepts certificates for unauthorized domains. The attacker then uses this certificate to authenticate as a legitimate user in services trusting the CA's namespace restrictions, bypassing intended access controls. This requires the target application to use client certificate authentication with email-based identity mapping, limiting real-world exploitation scenarios but enabling complete authentication bypass where applicable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 21, 2026

X.509 certificate chain validation in Go 1.26.0 improperly enforces email address constraints when multiple constraints share local parts but differ in domain parts, causing all but the last constraint to be ignored. This CWE-295 (Improper Certificate Validation) flaw allows attackers to bypass intended certificate usage restrictions through specially crafted certificate chains, potentially enabling unauthorized access to services relying on Go's TLS implementation for email-based certificate validation. EPSS score of 0.03% (9th percentile) indicates low predicted exploitation likelihood, and no active exploitation or public exploit code has been identified at time of analysis.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 22:06 CVSS 7.5

When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered. [CVSS 7.5 HIGH]

RemediationAI

Upgrade Go to the patched version as detailed in the official Go security announcement at https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk and the fix implementation at https://go.dev/cl/752182. The patch corrects the certificate chain validation logic to properly enforce all email address constraints rather than only the last one. For applications already compiled with Go 1.26.0, recompilation with the patched Go toolchain is required since the vulnerability exists in the compiled standard library code. Red Hat Enterprise Linux users should apply RHSA-2026:5110 or RHSA-2026:5549 depending on their system version. SUSE Linux Enterprise users should apply the appropriate update from SUSE-SU-2026:0876, SUSE-SU-2026:0976, SUSE-SU-2026:0993, or SUSE-SU-2026:1042 based on their distribution. If immediate patching is not feasible, implement compensating controls by auditing certificate validation code paths to identify applications relying on email-based certificate constraints, then temporarily disable email constraint validation or implement additional application-layer authorization checks to verify email identity independently of certificate constraints (noting this reduces the security boundary and should be considered a temporary measure with increased logging/monitoring). Organizations not using email-based certificate validation for authentication or authorization are not exposed to exploitation despite running vulnerable Go versions.

Affected Packages

go stdlib fix: 1.26.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects Go's crypto/x509 certificate validation logic, specifically the handling of Name Constraints defined in RFC 5280. Name constraints allow certificate authorities to restrict the namespace within which subordinate certificates can issue credentials. The flaw occurs during certificate chain verification when processing email address constraints (rfc822Name constraints). When a certificate contains multiple constraints with identical local parts (e.g., 'user@') but different domains (e.g., 'user@example.com' vs 'user@test.com'), the validation logic incorrectly processes only the final constraint while ignoring preceding ones. This is a CWE-295 (Improper Certificate Validation) issue where the trust boundary enforcement mechanism fails. The affected component is Go's standard library x509 package used throughout the Go ecosystem for TLS/SSL certificate validation. The CPE identifier cpe:2.3:a:golang:go:1.26.0 indicates this affects specifically Go version 1.26.0, suggesting it may be a regression introduced in that release rather than a longstanding issue.

Know when Golang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (golang) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (golang).

CVSS VectorVendor: golang

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 21, 2026 - 15:00 vuln.today
v2 - CVSS changed
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 06, 2026 - 22:16 nvd
HIGH 7.5

DescriptionCVE.org

When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered.

Executive ViewAI

Why It Matters

Go 1.26.0 contains a certificate chain validation defect that allows attackers to bypass email address constraints in X.509 certificates, potentially enabling unauthorized TLS connections to services that enforce email-based certificate policies. Organizations running Go 1.26.0 applications-particularly those using client certificate authentication with email constraints-face risk of credential misuse and unauthorized service access until patched.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is infeasible: (1) Disable email constraint enforcement temporarily and implement supplementary IP-based or hostname-based access controls; (2) Monitor TLS handshake logs for certificates with mismatched email domains; (3) Restrict network access to certificate-authenticated services to known client IP ranges pending patch deployment.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:*

More in Golang

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2016-5386 HIGH
8.1 Jul 19

The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there

CVE-2026-24897 CRITICAL POC
10.0 Jan 28

Erugo file-sharing platform up to version 0.2.14 has a CVSS 10.0 path traversal allowing authenticated users to read any

CVE-2025-68121 CRITICAL POC
10.0 Feb 05

Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu

CVE-2022-50926 CRITICAL POC
9.8 Jan 13

WAGO PFC200 G2 PLC (firmware affected) allows privilege escalation through cookie manipulation. Users can modify cookie

CVE-2026-28408 CRITICAL POC
9.8 Feb 27

Authentication bypass in WeGIA charitable institution management system before 3.6.5. The adicionar_tipo_docs_atendido.p

CVE-2026-24895 CRITICAL POC
9.8 Feb 12

CGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc

CVE-2019-14809 CRITICAL POC
9.8 Aug 13

net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization by

CVE-2025-66719 CRITICAL POC
9.1 Jan 23

Free5gc NRF 1.4.0 has an authorization bypass in access token generation that allows authenticated users to request toke

CVE-2022-50909 HIGH POC
8.8 Jan 13

Algo 8028 Control Panel version 3.3.3 contains a command injection vulnerability in the fm-data.lua endpoint that allows

CVE-2026-82410 HIGH POC
8.7 Sep 16

Denial of service in PocketBase versions prior to 0.22.48 (0.22.x branch) and 0.23.0 through 0.39.6 (0.23.0+ branch) all

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.44 Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Development Tools 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2026:5110 ADVISORY https://access.redhat.com/errata/RHSA-2026:5549 ADVISORY https://vuldb.com/vuln/349611 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0876/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0976/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0993/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1042/ REF https://access.redhat.com/errata/RHSA-2026:10125 REF https://access.redhat.com/errata/RHSA-2026:10158 REF https://access.redhat.com/errata/RHSA-2026:10169 REF https://access.redhat.com/errata/RHSA-2026:10175 REF https://access.redhat.com/errata/RHSA-2026:10184 REF https://access.redhat.com/errata/RHSA-2026:10225 REF https://access.redhat.com/errata/RHSA-2026:10250 REF https://access.redhat.com/errata/RHSA-2026:10929 REF https://access.redhat.com/errata/RHSA-2026:11800 REF https://access.redhat.com/errata/RHSA-2026:13545 REF https://access.redhat.com/errata/RHSA-2026:14879 REF https://access.redhat.com/errata/RHSA-2026:19022 REF https://access.redhat.com/errata/RHSA-2026:19049 REF https://access.redhat.com/errata/RHSA-2026:19132 REF https://access.redhat.com/errata/RHSA-2026:19181 REF https://access.redhat.com/errata/RHSA-2026:19375 REF https://access.redhat.com/errata/RHSA-2026:21769 REF https://access.redhat.com/errata/RHSA-2026:22347 REF https://access.redhat.com/errata/RHSA-2026:22423 REF https://access.redhat.com/errata/RHSA-2026:22450 REF https://access.redhat.com/errata/RHSA-2026:22714 REF https://access.redhat.com/errata/RHSA-2026:22862 REF https://access.redhat.com/errata/RHSA-2026:22937 REF https://access.redhat.com/errata/RHSA-2026:23228 REF https://access.redhat.com/errata/RHSA-2026:23345 REF https://access.redhat.com/errata/RHSA-2026:26568 REF https://access.redhat.com/errata/RHSA-2026:26585 REF https://access.redhat.com/errata/RHSA-2026:28038 REF https://access.redhat.com/errata/RHSA-2026:28047 REF https://access.redhat.com/errata/RHSA-2026:29854 REF https://access.redhat.com/errata/RHSA-2026:36796 REF https://access.redhat.com/errata/RHSA-2026:39810 REF https://access.redhat.com/errata/RHSA-2026:41019 REF https://access.redhat.com/errata/RHSA-2026:41928 REF https://access.redhat.com/errata/RHSA-2026:49702 REF https://access.redhat.com/errata/RHSA-2026:49703 REF https://access.redhat.com/errata/RHSA-2026:49712 REF https://access.redhat.com/errata/RHSA-2026:54757 REF https://access.redhat.com/errata/RHSA-2026:56143 REF https://access.redhat.com/errata/RHSA-2026:56223 REF https://access.redhat.com/errata/RHSA-2026:57649 REF https://access.redhat.com/errata/RHSA-2026:61253 REF https://access.redhat.com/errata/RHSA-2026:67159 REF https://access.redhat.com/errata/RHSA-2026:67160 REF https://access.redhat.com/errata/RHSA-2026:67517 REF https://access.redhat.com/errata/RHSA-2026:67518 REF https://access.redhat.com/errata/RHSA-2026:7291 REF https://access.redhat.com/errata/RHSA-2026:8151 REF https://access.redhat.com/errata/RHSA-2026:8167 REF https://access.redhat.com/errata/RHSA-2026:8337 REF https://access.redhat.com/errata/RHSA-2026:8338 REF https://access.redhat.com/errata/RHSA-2026:8842 REF https://access.redhat.com/errata/RHSA-2026:9052 REF https://access.redhat.com/errata/RHSA-2026:9385 REF https://access.redhat.com/errata/RHSA-2026:9697 REF https://access.redhat.com/errata/RHSA-2026:9698 REF https://access.redhat.com/errata/RHSA-2026:9699 REF https://access.redhat.com/errata/RHSA-2026:9872 REF https://access.redhat.com/security/cve/CVE-2026-27137 REF https://bugzilla.redhat.com/show_bug.cgi?id=2445345 REF https://go.dev/cl/752182 REF https://go.dev/issue/77952 REF https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk REF https://pkg.go.dev/vuln/GO-2026-4599 REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27137.json

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy