Developer Tooling
CVE-2026-42503 high CVSS 8.8

Vulnerability in Golang (CVE-2026-42503)

Summary

Vulnerability in Golang (CVE-2026-42503). Successful exploitation can lead to full system takeover.

Original description

The description as published by the source.

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 National Vulnerability Database NVD

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

goplsはデフォルトでパイプ経由で通信しますが、デバッグ時には-port および-listen フラグがサポートされています。-listen にホストが指定されていない場合(例: :8080)や-port が使用されると、goplsは0.0.0.0で待機することがあります。これにより、ネットワーク上の悪意ある者が任意のコードを実行する可能性があります。

❓ What is the problem

goplsのデバッグ用フラグによる不適切なリッスン割り当て

📍 Affected scope

gopls の -port および -listen フラグ

🔥 Severity

高いリスク、同一ネットワーク上での任意コード実行の可能性

🔧 How to fix

goplsの設定を見直し、ホストを明示的に指定する

🛡️ Workaround

明示的にローカルホスト(例: 127.0.0.1)を指定してリッスンする

🔍 Detection

goplsのフラグ設定を確認し、不適切な設定を修正する

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details