CVE-2026-94445

Malicious user input may lead to RCE in golang.org/x/playground

State
Published
Severity
8.8 High
Published
Sep 25, 2026
Updated
Sep 25, 2026
Reserved
Sep 21, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-20 Improper input validation

Affected Products

ProductVersions
golang.org/x/playgroundgolang.org/x/playground
  • before 0.0.0-20260924211604-6d73cff14c17Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.