Golang Gopls vulnerabilities
🔔 Create alert RSS Version checker
Published CVEs affecting Golang Gopls: 1 record(s), with affected versions and fixes.cpe:2.3:a:golang:gopls
CVE-2026-42503
High · 8.8
CWE-1327 May 6, 2026
Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls
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.