GO-2026-4599 BIT-golang-2026-27137 CVE-2026-27137
Incorrect enforcement of email constraints in crypto/x509
- Severity
- 7.5 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- 0.63%
- Chance of exploitation in the next 30 days. Higher than 50.21% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-295 Improper Certificate Validation
- Fix
1.26.1- Upgrade stdlib to this version or later
Description
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.
Affected versions
Go
| Package | Vulnerable | Fixed in |
|---|---|---|
| stdlib | >= 1.26.0-0, < 1.26.1 |
1.26.1 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
stdlib Go → 1.26.1
- go
go get stdlib@v1.26.1 && go mod tidy
Severity breakdown
CVSS 3.1 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Weakness
CWE-295: Improper Certificate Validation
The product does not validate, or incorrectly validates, a certificate.
How to prevent it
- Architecture and Design, Implementation: Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
- Implementation: If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.
References
Advisories
Fixes and patches
Issue reports
Other links
- groups.google.com/g/golang-announce/c/EdhZqrQ98hk
- access.redhat.com/errata/RHSA-2026:10125
- access.redhat.com/errata/RHSA-2026:10158
- access.redhat.com/errata/RHSA-2026:10169
- access.redhat.com/errata/RHSA-2026:10175
- access.redhat.com/errata/RHSA-2026:10184
- access.redhat.com/errata/RHSA-2026:10225
- access.redhat.com/errata/RHSA-2026:10250
- access.redhat.com/errata/RHSA-2026:10929
- access.redhat.com/errata/RHSA-2026:11800
- access.redhat.com/errata/RHSA-2026:13545
- access.redhat.com/errata/RHSA-2026:14879
- access.redhat.com/errata/RHSA-2026:19022
- access.redhat.com/errata/RHSA-2026:19049
- access.redhat.com/errata/RHSA-2026:19132
- access.redhat.com/errata/RHSA-2026:19181
- access.redhat.com/errata/RHSA-2026:19375
- access.redhat.com/errata/RHSA-2026:21769
- access.redhat.com/errata/RHSA-2026:22347
- access.redhat.com/errata/RHSA-2026:22423
- access.redhat.com/errata/RHSA-2026:22450
- access.redhat.com/errata/RHSA-2026:22714
- access.redhat.com/errata/RHSA-2026:22862
- access.redhat.com/errata/RHSA-2026:22937
- access.redhat.com/errata/RHSA-2026:23228
- access.redhat.com/errata/RHSA-2026:23345
- access.redhat.com/errata/RHSA-2026:26568
- access.redhat.com/errata/RHSA-2026:26585
- access.redhat.com/errata/RHSA-2026:28038
- access.redhat.com/errata/RHSA-2026:28047
- access.redhat.com/errata/RHSA-2026:29854
- access.redhat.com/errata/RHSA-2026:36796
- access.redhat.com/errata/RHSA-2026:39810
- access.redhat.com/errata/RHSA-2026:41019
- access.redhat.com/errata/RHSA-2026:41928
- access.redhat.com/errata/RHSA-2026:49702
- access.redhat.com/errata/RHSA-2026:49703
- access.redhat.com/errata/RHSA-2026:49712
- access.redhat.com/errata/RHSA-2026:5110
- access.redhat.com/errata/RHSA-2026:54757
- access.redhat.com/errata/RHSA-2026:5549
- access.redhat.com/errata/RHSA-2026:56143
- access.redhat.com/errata/RHSA-2026:56223
- access.redhat.com/errata/RHSA-2026:57649
- access.redhat.com/errata/RHSA-2026:61253
- access.redhat.com/errata/RHSA-2026:67159
- access.redhat.com/errata/RHSA-2026:67160
- access.redhat.com/errata/RHSA-2026:67517
- access.redhat.com/errata/RHSA-2026:67518
- access.redhat.com/errata/RHSA-2026:7291
- access.redhat.com/errata/RHSA-2026:8151
- access.redhat.com/errata/RHSA-2026:8167
- access.redhat.com/errata/RHSA-2026:8337
- access.redhat.com/errata/RHSA-2026:8338
- access.redhat.com/errata/RHSA-2026:8842
- access.redhat.com/errata/RHSA-2026:9052
- access.redhat.com/errata/RHSA-2026:9385
- access.redhat.com/errata/RHSA-2026:9697
- access.redhat.com/errata/RHSA-2026:9698
- access.redhat.com/errata/RHSA-2026:9699
- access.redhat.com/errata/RHSA-2026:9872
- access.redhat.com/security/cve/CVE-2026-27137
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27137.json
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-4374-p667-p6c8 HTTP/2 rapid reset can cause excessive work in net/http | High Known exploited | Also affects stdlib |
| CVE-2020-0601 Certificate validation bypass on Windows in crypto/x509 | High Known exploited | Also affects stdlib |
| RUSTSEC-2026-0382 Distrust compromised intermediate certificates in crypto/x509 | Medium | Also affects stdlib |
| GO-2026-6613 HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http | High | Also affects stdlib |
| GO-2026-6609 Lack of limit on size of parsed Range headers in net/http | High | Also affects stdlib |
| GO-2026-6608 Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart | High | Also affects stdlib |
| GO-2026-6607 Reject malformed ECH outer extension references in crypto/tls | High | Also affects stdlib |
| GO-2026-6604 Root.Mkdir(All) can follow junctions out of the root on Windows in os | Critical | Also affects stdlib |
Credits: Jakub Ciolek
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor