Back to CVE List

CVE-2026-42503

HIGH SEVERITY

CVSS Score & Metrics

Base Score
8.8 / 10
Vector String
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability 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.

Vulnerability Details

Published Date
Last Modified
CWE ID
CWE-1327
Source
NVD
Vendor
golang.org/x/tools
Product
golang.org/x/tools/gopls

External References

Discussion (0)

Add Comment

No comments yet. Be the first!