{
  "id": "CVE-2026-42503",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42503",
  "published_at": "2026-05-06T16:20:01.428Z",
  "title": "Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls",
  "vendor": "golang.org/x/tools",
  "product": "golang.org/x/tools/gopls",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "gopls by default communicates via pipe. However, -port and -listen flags are supported as means of debugging.\nIf -listen is given a value without an explicit host (e.g. :8080), or -port is used, gopls will listen on 0.0.0.0. \nAs a result, users might inadvertently cause gopls to bind 0.0.0.0.\nThis can allow a malicious party on the same network to execute code arbitrarily via gopls.",
  "cwe": "CWE-1327",
  "cpes": [
    "cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "golang.org/x/tools",
        "product": "golang.org/x/tools/gopls",
        "ranges": [
          "\u003e= 0.0.0, \u003c 0.22.0"
        ],
        "fixed_in": [
          "0.22.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade golang.org/x/tools/gopls to 0.22.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
