CVE-2026-42503

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

HIGH
8.8
CVSS Score
Published: May 6, 2026 at 04:20 PM UTC
Updated: October 26, 2026 at 07:10 PM UTC
2 products affected across 2 vendorsGoplsGopls

Using golang.org/x/tools/gopls by golang.org/x/tools?

Get instant alerts when new vulnerabilities affect golang.org/x/tools/gopls - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.22.0
Affected range stops below 0.22.0, so it looks safe — our inference, not a vendor statement
0.0.0 ≤ v < 0.22.00.0.0
Affected range stops below 0.22.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Issue TrackingVendor Advisory
Source: cverecord
https://go.dev/issue/79211
Patch
Source: cverecord
https://go.dev/cl/774381

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHCISA-ADP
Attack Vector
ADJACENT_NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-1327

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card