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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://go.dev/cl/774381 Patch
- https://go.dev/issue/79211 Issue Tracking, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.8 · golangNVD modified 2026-10-26 19:10
Affected (CPE criteria) 1
cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:*
References 2
- https://go.dev/cl/774381 Patch
- https://go.dev/issue/79211 Issue Tracking, Vendor Advisory