BreachSpiderVerified, not vibes

CVE-2026-42503 in Golang products

High 8.8

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 malici...

Affects 0 products from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.3%
EPSS percentile21th
FixUnknown

Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Golang — —
Golang Gopls < 0.22.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42503
BreachSpider IDBS-2026-GLOBAL-270572-H
CVSS vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2026-05-06
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-1327: CWE-1327

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-1327

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-42503 affects gopls when using the -listen or -port flags without specifying a host, causing it to bind to 0.0.0.0. This can allow remote attackers on the same network to execute arbitrary code.

The vulnerability arises from gopls binding to all network interfaces when the -listen or -port flags are used without an explicit host. This exposes the service to remote attacks from any device on the same network.

Questions

What is CVE-2026-42503?

CVE-2026-42503 affects gopls when using the -listen or -port flags without specifying a host, causing it to bind to 0.0.0.0. This can allow remote attackers on the same network to execute arbitrary code.

What is the CVSS score for CVE-2026-42503?

CVE-2026-42503 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.

Is CVE-2026-42503 actively exploited?

No confirmed active exploitation of CVE-2026-42503 as of 2026-11-03.

How do I remediate CVE-2026-42503?

Priority: IMMEDIATE.

What systems are affected by CVE-2026-42503?

CVE-2026-42503 affects Golang.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Golang","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.