CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"golang.org/x/tools/gopls","product":"golang.org/x/tools/gopls","vendor":"golang.org/x/tools","versions":[{"lessThan":"0.22.0","status":"affected","version":"0.0.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:83c9cdbb264590a5831e309899cda4036a2a53ac24d706ef400f4c2d6ffab80a · sha256:bb70720c91682f5e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:83c9cdbb264590a5831e309899cda4036a2a53ac24d706ef400f4c2d6ffab80a · sha256:bb70720c91682f5e… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-1327","description":"CWE-1327 Binding to an unrestricted IP address","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:83c9cdbb264590a5831e309899cda4036a2a53ac24d706ef400f4c2d6ffab80a · sha256:bb70720c91682f5e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://go.dev/cl/774381"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:83c9cdbb264590a5831e309899cda4036a2a53ac24d706ef400f4c2d6ffab80a · sha256:bb70720c91682f5e… · /containers/cna/references/1
{"url":"https://go.dev/issue/79211"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:83c9cdbb264590a5831e309899cda4036a2a53ac24d706ef400f4c2d6ffab80a · sha256:bb70720c91682f5e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.