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.
References
| Link | Resource |
|---|---|
| https://go.dev/cl/774381 | Patch |
| https://go.dev/issue/79211 | Issue Tracking Vendor Advisory |
Configurations
History
26 Oct 2026, 19:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
18 Sep 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Golang gopls
Golang |
|
| CPE | cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:* | |
| References | () https://go.dev/cl/774381 - Patch | |
| References | () https://go.dev/issue/79211 - Issue Tracking, Vendor Advisory |
Information
Published : 2026-05-06 17:16
Updated : 2026-10-26 19:10
NVD link : CVE-2026-42503
Mitre link : CVE-2026-42503
CVE.ORG link : CVE-2026-42503
JSON object : View
Products Affected
golang
- gopls
CWE
CWE-1327
Binding to an Unrestricted IP Address
