go.dev
https://go.dev/cl/774381 CVE-2026-42503
HIGH
Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls
Record summary
CVE-2026-42503 has a selected CVSS score of 8.8 (high).
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.
Description source: CVE List
Exploitation context
CISA SSVC decision
ExploitationNone
AutomatableNo
Technical impactTotal
CISA Coordinator · SSVC 2.0.3 · Evaluated May 6, 2026 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
golang.org/x/tools/goplsBrowse golang.org/x/tools / golang.org/x/tools/goplsDefault status: unaffected | CVE List | 0.0.0 to < 0.22.0 | affected |
References
3go.dev
https://go.dev/issue/79211 nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2026-42503