CVE-2026-42503

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
Link Resource
https://go.dev/cl/774381 Patch
https://go.dev/issue/79211 Issue Tracking Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:*

History

26 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) gopls por defecto se comunica a través de una tubería. Sin embargo, las banderas -puerto y -listen son compatibles como medios de depuración. Si a -listen se le da un valor sin un host explícito (p. ej. :8080), o se usa -puerto, gopls escuchará en 0.0.0.0. Como resultado, los usuarios podrían inadvertidamente causar que gopls se enlace a 0.0.0.0. Esto puede permitir a una parte maliciosa en la misma red ejecutar código arbitrariamente a través de gopls.

18 Sep 2026, 15:16

Type Values Removed Values Added
First Time Golang gopls
Golang
CPE cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:*
References () https://go.dev/cl/774381 - () https://go.dev/cl/774381 - Patch
References () https://go.dev/issue/79211 - () https://go.dev/issue/79211 - Issue Tracking, Vendor Advisory

Information

Published : 2026-05-06 17:16

Updated : 2026-10-26 19:10


NVD link : CVE-2026-42503

Mitre link : CVE-2026-42503

CVE.ORG link : CVE-2026-42503


JSON object : View

Products Affected

golang

  • gopls
CWE
CWE-1327

Binding to an Unrestricted IP Address