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 | |
| https://go.dev/issue/79211 |
Configurations
No configuration.
History
06 May 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-06 17:16
Updated : 2026-05-07 15:53
NVD link : CVE-2026-42503
Mitre link : CVE-2026-42503
CVE.ORG link : CVE-2026-42503
JSON object : View
Products Affected
No product.
CWE
CWE-1327
Binding to an Unrestricted IP Address
