Read the docs
TI-2026-30786 Aliases CVE-2026-42503GHSA-9344-f92h-vr44

Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls

Priority LOW 39CWE-1327Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00212 11th percentileScored 2026-11-07
Fix Fixed golang.org/x/tools/gopls (golang.org/x/tools): 0.22.0Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
golang.org/x/toolsgolang.org/x/tools/gopls0.0.0 to before 0.22.00.22.0Patch availableCNA
  • golang.org/x/tools/gopls Vendorgolang.org/x/tools Affected 0.0.0 to before 0.22.0 Fixed in 0.22.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:*before 0.22.0VulnerableGo standard library
  • cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:* Versions before 0.22.0 Vulnerable ·Go standard library

Remediation

  • Fix · CNA golang.org/x/tools/gopls (golang.org/x/tools) Fixed in 0.22.0

Red Hat 2 advisories

  • RHSA-2026:8291 Released 2026-04-15 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images golang1.26-1.26.2-1.1.hum1@aarch64, golang1.26-1.26.2-1.1.hum1@src, golang1.26-1.26.2-1.1.hum1@x86_64 +12
  • RHSA-2026:7385 Released 2026-04-10 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images golang1.25-1.25.9-1.hum1@aarch64, golang1.25-1.25.9-1.hum1@src, golang1.25-1.25.9-1.hum1@x86_64 +12

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Hardened ImagesFixed RHSA-2026:7385, RHSA-2026:8291
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42503
  2. 2026-10-03 Alias added: GHSA-9344-f92h-vr44
  3. 2026-10-25 Priority changed: MEDIUM → LOW

References

Sources