CVE-2026-42503: golang gopls Binding to an Unrestricted IP Address
Vulnerability summary
CVE-2026-42503 is a high (CVSS 8.8) Binding to an Unrestricted IP Address vulnerability in golang gopls. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 27.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 06-05-2026PublishedVulnerability first disclosed.
- 07-05-2026Last modifiedVulnerability information updated.
Description
gopls by default communicates via pipe. However, -port and -listen flags are supported as means of debugging. If -listen is given a value without an explicit host (e.g. :8080), or -port is used, gopls will listen on 0.0.0.0. As a result, users might inadvertently cause gopls to bind 0.0.0.0. This can allow a malicious party on the same network to execute code arbitrarily via gopls.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.35%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
+0.14 pp
From 0.21% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- goplsAll versions (No fix recorded) | < 2:0.22.0+ds-1
Golang1 product
- gopls< 0.22.0
Golang.org/x/tools1 product
- golang.org/x/tools/gopls≥ 0.0.0, < 0.22.0
Ubuntu1 product
- goplsAll versions (No fix recorded)
4 vendors · 4 products
References
5 links- go.dev/cl/774381Patch