{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-42503 in the wild and no public exploit code.","fix":"Change a configuration setting.","what":"CVE-2026-42503 is a high-severity vulnerability in golang.org/x/tools/gopls, published on 6 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42503 and fix it if it is affected.\n\nWhat it is: CVE-2026-42503 is a high-severity vulnerability in golang.org/x/tools/gopls, published on 6 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42503 in the wild and no public exploit code.\n\nAffected product: golang.org/x/tools/gopls. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42503/ (Markdown: https://insights.sbomify.com/CVE-2026-42503/index.md)","id":"CVE-2026-42503","markdown":"https://insights.sbomify.com/CVE-2026-42503/index.md","name":"CVE-2026-42503","record":{"aliases":["DEBIAN-CVE-2026-42503","GHSA-9344-f92h-vr44","UBUNTU-CVE-2026-42503"],"analysis":{"component_type":"developer_tool","fix_type":"configuration_change","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Go language server","requires_auth":"none","summary":"Developers using gopls with specific debug flags may inadvertently expose the server to the network, allowing remote code execution.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[{"product":"gopls","vendor":"golang"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1327","name":"Binding to an Unrestricted IP Address"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls","id":"CVE-2026-42503","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"misconfiguration","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Quadratic complexity in WordDecoder.DecodeHeader in mime","id":"CVE-2026-42504"},"packages":[],"prev":{"headline":"Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html","id":"CVE-2026-42502"},"products":["golang.org/x/tools/gopls"],"published":"2026-05-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-07","vendors":["golang.org/x/tools"]},"summary":"Developers using gopls with specific debug flags may inadvertently expose the server to the network, allowing remote code execution.","url":"https://insights.sbomify.com/CVE-2026-42503/"}