CVEvulnerability

CVE-2026-42503

8.8 HIGH Published 2026-05-06 Modified 2026-10-26 Official page ↗
Status
Analyzed
Published
2026-05-06
Last modified
2026-10-26
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1327

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.

Affected configurations

• golang gopls (< 0.22.0)

Related

Weakness · CWE (1)

  • CWE-1327 Binding to an Unrestricted IP Address weakness

References