8.8
/ 10
HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
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.
AI Analysis
Accidental binding to INADDR_ANY might lead to Remote Code Execution (RCE) in gopls
Basic Information
ID
CVE-2026-42503
Source
Go
Published
May 6, 2026 at 16:20
Modified
May 6, 2026 at 17:08
Affected Product
Vendor
golang.org/x/tools
Product
golang.org/x/tools/gopls
Version
0.0.0
Affected Versions
golang.org/x/tools golang.org/x/tools/gopls 0.0.0
CWE Classification
AI Assessment
AI Score
8.8 / 10
AI Severity
High
Vendor
The Go Authors
Product
gopls
Version
0.0.0