---
title: "CVE-2026-42503"
canonical_url: "https://pkgseek.com/security/CVE-2026-42503"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

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

CVE-2026-42503 is rated HIGH (8.8), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | gopls | 2:0.16.1+ds-1 | — |
