Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 87%

CVE-2026-42503: CWE-1327 Binding to an unrestricted IP address in golang.org/x/tools golang.org/x/tools/gopls

0
High
VulnerabilityCVE-2026-42503cvecve-2026-42503cwe-1327
Published: 05/06/2026 (05/06/2026, 16:20:01 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/tools
Product: golang.org/x/tools/gopls

Description

The golang.org/x/tools/gopls language server has a vulnerability where it may bind to the unrestricted IP address 0.0.0.0 when started with certain debugging flags (-listen without explicit host or -port). This behavior can expose the service to network attackers on the same network, potentially allowing arbitrary code execution. The vulnerability is rated high severity with a CVSS score of 8.8. No official patch or remediation guidance is currently provided by the vendor. Users should be cautious when using these flags and avoid binding gopls to all network interfaces unless necessary.

CVSS v3.1

Score 8.8high

Attack Vector
Adjacent Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

golang.org/x/tools/gopls
pkg:golang/golang.org/x/tools/gopls
Affected versions
=0.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 03:52:24 UTC

Technical Analysis

gopls, the Go language server, normally communicates via pipes but supports debugging flags -port and -listen. If -listen is specified without an explicit host (e.g., :8080) or if -port is used, gopls binds to 0.0.0.0, listening on all network interfaces. This unrestricted binding can allow a malicious actor on the same network to connect and execute arbitrary code via gopls. The vulnerability is tracked as CVE-2026-42503 and classified under CWE-1327 (Binding to an Unrestricted IP Address). The CVSS 3.1 score is 8.8, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. No patch or official remediation is currently documented.

Potential Impact

If exploited, this vulnerability allows an unauthenticated attacker on the same network segment to connect to the gopls service bound on 0.0.0.0 and execute arbitrary code. This compromises confidentiality, integrity, and availability of the affected system. The high CVSS score reflects the significant risk posed by this exposure. However, there are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using the -listen flag without specifying an explicit host or the -port flag to prevent gopls from binding to all interfaces. Restrict network access to the machine running gopls to trusted users only. Monitor vendor communications for updates on patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-28T00:21:12.792Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69fb7191cbff5d86100fd114

Added to database: 05/06/2026, 16:51:29 UTC

Last enriched: 05/14/2026, 03:52:24 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 145

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses