CVE-2026-42503
Last modified
CVE-2026-42503 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| golang.org/x/tools | golang.org/x/tools/gopls | >= 0.0.0, < 0.22.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-42503?
How severe is CVE-2026-42503?
How do I fix CVE-2026-42503?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42498Exposure of HTTP Authentication Header to unexpected hosts d…7.3
- CVE-2026-42499Pathological inputs could cause DoS through consumePhrase wh…7.5
- CVE-2026-4250A vulnerability was found in Albert Sağlık Hizmetleri ve Tic…2.5
- CVE-2026-42500Decoding a paletted BMP file with an out-of-range palette in…5.3
- CVE-2026-42501A malicious module proxy can exploit a flaw in the go comman…7.5
- CVE-2026-42502Parsing arbitrary HTML which is then rendered using Render c…6.1
- CVE-2026-42504Decoding a maliciously-crafted MIME header containing many i…7.5
- CVE-2026-42505Handshakes which used Encrypted Client Hello could be de-ano…5.3
- CVE-2026-42506Parsing arbitrary HTML which is then rendered using Render c…6.1
- CVE-2026-42507When returning errors, functions in the net/textproto packag…5.3
- CVE-2026-42508Previously, a revoked 'SignatureKey' belonging to a CA was n…9.1
- CVE-2026-42509Improper Neutralization of Input During Web Page Generation …6.1
Are you affected by CVE-2026-42503?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
