Bug 2467285 (CVE-2026-42503) - CVE-2026-42503 golang: golang.org/x/tools/gopls: gopls: Arbitrary code execution due to insecure network binding
Summary: CVE-2026-42503 golang: golang.org/x/tools/gopls: gopls: Arbitrary code execut...
Keywords:
Status: NEW
Alias: CVE-2026-42503
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-06 17:01 UTC by OSIDB Bzimport
Modified: 2026-07-21 03:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-06 17:01:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.