What’s Vulnerable › Vulnerabilities

CVE-2026-94445: Malicious user input may lead to RCE in golang.org/x/playground

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.

Affected products

How to fix

Upgrade to a fixed version: golang.org/x/playground 0.0.0-20260924211604-6d73cff14c17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-94445 or the next vulnerability affects your stack