CVE-2026-42503CWE-1327

CVE-2026-42503

High · published May 6, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
27.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00349 · 27.4th percentile
Weakness
CWE-1327 · Binding to an Unrestricted IP Address
Published
2026-05-06T21:16Z
Affected products (1)
ProductVersionsFixed in
golang/gopls< 0.22.00.22.0
References (2)
EPSS history
Timeline
  • 06 MAY 16:20Z
    Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls
    cvelistv5