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.
Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
| Link | Providers |
|---|---|
| https://go.dev/cl/774381 |
|
| https://go.dev/issue/79211 |
|
Thu, 07 May 2026 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Golang
Golang gopls |
|
| Vendors & Products |
Golang
Golang gopls |
Wed, 06 May 2026 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Wed, 06 May 2026 16:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls | |
| Weaknesses | CWE-1327 | |
| References |
|
Status: PUBLISHED
Assigner: Go
Published:
Updated: 2026-05-07T03:55:49.730Z
Reserved: 2026-04-28T00:21:12.792Z
Link: CVE-2026-42503
Updated: 2026-05-06T17:08:25.999Z
Status : Awaiting Analysis
Published: 2026-05-06T17:16:23.417
Modified: 2026-05-07T15:53:49.717
Link: CVE-2026-42503
No data.
OpenCVE Enrichment
Updated: 2026-05-07T21:25:33Z