CVE-2026-42503: gopls by default communicates via pipe
Source GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 0.22.0 soon.
Data as of 27 Oct 2026, 00:07 UTC
- Patch
- Available – fixed in 0.22.0
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade golang.org/x/tools/gopls to 0.22.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/toolsgolang.org/x/tools/gopls | Affected
| Fixed in
|
Gogolang.org/x/tools/goplspkg:golang/golang.org/x/tools/goplsOther threats | Affected
| Fixed in– |
Gogolang.org/x/tools/goplspkg:golang/golang.org/x/tools/goplsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.