🔐 CVE Alert

CVE-2026-42503

HIGH 8.8

Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-1327
Vendor golang.org/x/tools
Product golang.org/x/tools/gopls
Published May 6, 2026
Last Updated May 6, 2026
Stay Ahead of the Next One

Get instant alerts for golang.org/x/tools golang.org/x/tools/gopls

Be the first to know when new high vulnerabilities affecting golang.org/x/tools golang.org/x/tools/gopls are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

golang.org/x/tools / golang.org/x/tools/gopls
0.0.0 < 0.22.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
go.dev: https://go.dev/issue/79211 go.dev: https://go.dev/cl/774381