Skip to content
Heist/ feed
Back to feed
Medium

Unexpected untrusted code execution in github.com/golang/vscode-go

Type: advisorySources: OSV

To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-68120
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:55 UTC · Revision 1

Source evidence

Unexpected untrusted code execution in github.com/golang/vscode-go

core-osv · Original source

Published 29 Dec 2025, 23:46 UTC

To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode.

osv:CVE-2025-68120
Complete source record
{
  "id": "86e5c9e0718eb82aef0afeef8f7afa34d7ee7aab8565a6f2c0243b5f80addd58",
  "url": "https://osv.dev/vulnerability/CVE-2025-68120",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unexpected untrusted code execution in github.com/golang/vscode-go",
    "summary": "To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode.",
    "evidence": "osv:CVE-2025-68120",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-68120",
      "aliases": [
        "CVE-2025-68120",
        "GHSA-fjmr-7667-8v4p",
        "GO-2025-4249"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/golang/vscode-go",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b48617be75546524b66e616d66609cf7da6cb870"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:go:go:*:*:*:*:*:visual_studio_code:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.52.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.52.0-rc.1",
            "v0.52.0",
            "v0.51.1",
            "v0.51.0",
            "v0.49.1",
            "survey/v0.1.0",
            "v0.49.0",
            "v0.47.4",
            "v0.47.3",
            "v0.47.2",
            "v0.47.1",
            "v0.47.0",
            "v0.45.2",
            "v0.45.1",
            "v0.45.0",
            "v0.43.4",
            "v0.43.3",
            "v0.43.2",
            "v0.43.1-rc.1",
            "v0.43.1",
            "v0.43.0-rc.1",
            "v0.43.0",
            "v0.35.0-rc.2",
            "v0.35.0-rc.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68120.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.812690802Z",
      "provider": "osv",
      "references": [
        "https://groups.google.com/g/golang-dev/c/CHG4qfcicBU/m/4tanFUymDQAJ",
        "https://pkg.go.dev",
        "https://pkg.go.dev/vuln/GO-2025-4249",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68120.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68120"
      ],
      "provider_metadata": {
        "cna_assigner": "Go",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.52.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68120.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68120",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504339,
  "published_at": "2025-12-29T23:46:52.451+00:00"
}