Back to search
CVE-2026-42503
Published: May 6, 2026
Modified: May 7, 2026
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
golang.org/x/tools | golang.org/x/tools/gopls | affected 0.0.0 - < 0.22.0 |
Weaknesses (CWE)
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now