Refine your search

1 vulnerability found for by golang.org/x/playground

CVE-2026-94445 (GCVE-0-2026-94445)
Vulnerability from cvelistv5
Published
2026-09-25 16:43
Modified
2026-09-25 17:08
CWE
  • CWE-20 - Improper input validation
Summary
A malicious txtar could escape the intended execution context and force arbitrary writes to the playground host's trusted filesystem. Disjointly, one of the three possible paths to invoke go vet on the playground host did not correctly restrict the execution environment. This permitted a Go process to make a read for an environment configuration file rooted in the playground host's $HOME. Together, a well-crafted go env file and the go vet invocation could lead to remote code execution in the playground host itself. This does not affect users of go.dev/play directly; however, it may affect independent deployments of golang.org/x/playground.
Impacted products
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 8.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-94445",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-25T17:08:10.870774Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-25T17:08:14.767Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "golang.org/x/playground",
          "product": "golang.org/x/playground",
          "vendor": "golang.org/x/playground",
          "versions": [
            {
              "lessThan": "0.0.0-20260924211604-6d73cff14c17",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "splitline (@splitline) from DEVCORE Research Team"
        }
      ],
      "datePublic": "2026-09-24T21:10:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eA malicious txtar could escape the intended execution context and force arbitrary writes to the playground host\u0027s trusted filesystem.\u003c/p\u003e\u003cp\u003eDisjointly, one of the three possible paths to invoke\u0026nbsp;\u003ccode\u003ego vet\u003c/code\u003e\u0026nbsp;on the playground host did not correctly restrict the execution environment. This permitted a Go process to make a read for an environment configuration file rooted in the playground host\u0027s $HOME.\u003c/p\u003e\u003cp\u003eTogether, a well-crafted go env file and the\u0026nbsp;\u003ccode\u003ego vet\u003c/code\u003e\u0026nbsp;invocation could lead to remote code execution in the playground host itself.\u003cbr\u003e\u003c/p\u003e\u003cp\u003eThis does not affect users of go.dev/play directly; however, it may affect\u0026nbsp;independent deployments of golang.org/x/playground.\u003c/p\u003e"
            }
          ],
          "value": "A malicious txtar could escape the intended execution context and force arbitrary writes to the playground host\u0027s trusted filesystem.\n\n\n\nDisjointly, one of the three possible paths to invoke\u00a0go vet\u00a0on the playground host did not correctly restrict the execution environment. This permitted a Go process to make a read for an environment configuration file rooted in the playground host\u0027s $HOME.\n\n\n\nTogether, a well-crafted go env file and the\u00a0go vet\u00a0invocation could lead to remote code execution in the playground host itself.\n\n\n\n\nThis does not affect users of go.dev/play directly; however, it may affect\u00a0independent deployments of golang.org/x/playground."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper input validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-25T16:43:06.941Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://go.dev/issue/81737"
        },
        {
          "url": "https://go.dev/cl/838485"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Malicious user input may lead to RCE in golang.org/x/playground",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2026-94445",
    "datePublished": "2026-09-25T16:43:06.941Z",
    "dateReserved": "2026-09-21T16:43:04.757Z",
    "dateUpdated": "2026-09-25T17:08:14.767Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}