{"id":"CVE-2026-42503","state":"PUBLISHED","title":"Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls","description":"gopls by default communicates via pipe. However, -port and -listen flags are supported as means of debugging.\nIf -listen is given a value without an explicit host (e.g. :8080), or -port is used, gopls will listen on 0.0.0.0. \nAs a result, users might inadvertently cause gopls to bind 0.0.0.0.\nThis can allow a malicious party on the same network to execute code arbitrarily via gopls.","publishedAt":"2026-05-06T16:20:01.428Z","updatedAt":"2026-05-07T03:55:49.730Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"Go","products":["golang.org/x/tools golang.org/x/tools/gopls"],"affected":[{"vendor":"golang.org/x/tools","product":"golang.org/x/tools/gopls","packageName":"golang.org/x/tools/gopls","defaultStatus":"unaffected","versions":[{"version":"0.0.0","status":"affected","lessThan":"0.22.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev"}],"references":["https://go.dev/issue/79211","https://go.dev/cl/774381"],"weaknesses":["CWE-1327"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42503.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42503","state":"PUBLISHED","datePublished":"2026-05-06T16:20:01.428Z","dateUpdated":"2026-05-07T03:55:49.730Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2026-04-28T00:21:12.792Z"},"containers":{"cna":{"title":"Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls","descriptions":[{"lang":"en","value":"gopls by default communicates via pipe. However, -port and -listen flags are supported as means of debugging.\nIf -listen is given a value without an explicit host (e.g. :8080), or -port is used, gopls will listen on 0.0.0.0. \nAs a result, users might inadvertently cause gopls to bind 0.0.0.0.\nThis can allow a malicious party on the same network to execute code arbitrarily via gopls."}],"affected":[{"vendor":"golang.org/x/tools","product":"golang.org/x/tools/gopls","packageName":"golang.org/x/tools/gopls","defaultStatus":"unaffected","versions":[{"version":"0.0.0","status":"affected","lessThan":"0.22.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev"}],"references":[{"url":"https://go.dev/issue/79211"},{"url":"https://go.dev/cl/774381"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1327","lang":"en","description":"CWE-1327 Binding to an unrestricted IP address","type":"CWE"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2026-05-06T16:20:01.428Z"},"datePublic":"2026-05-06T15:19:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"ADJACENT_NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-06T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-42503"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-07T03:55:49.730Z"}}]}}}