CVE-2026-42503

HIGH CVSS 3.1: 8.8 EPSS 0.21%
Updated Oct 26, 2026
Bind
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions before 0.22.0
Fixed In 0.22.0
Type CWE-1327
Vendor Bind
Public PoC No

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.

Attack Parameters

Attack Vector
Adjacent
Requires local network access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Golang Gopls
cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:*
— 0.22.0