Skip to main content
VulnerabilityPublished

CVE-2026-42503: gopls by default communicates via pipe

Source GCVE Database

0
Authoritative record:CVE-2026-42503· High 8.8

Not known to be exploited · CVSS 8.8 High : upgrade to 0.22.0 soon.

Data as of 27 Oct 2026, 00:07 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
golang.org/x/toolsgolang.org/x/tools/goplsAffected
  • <0.22.0
Fixed in
  • 0.22.0
Gogolang.org/x/tools/goplspkg:golang/golang.org/x/tools/goplsOther threatsAffected
  • =0.0.0
Fixed in–
Gogolang.org/x/tools/goplspkg:golang/golang.org/x/tools/goplsOther threatsAffected
  • <0.22.0
Fixed in
  • 0.22.0

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.

References

Community reviews

Loading reviews…