CVE-2026-42503: Golang Gopls

High severity, CVSS 8.8. EPSS: 0.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Golang Gopls, before 0.22.0: fixed in 0.22.0

Affected products

Published 2026-05-06. Last modified 2026-10-26.