You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
x/playground: arbitrary user input and misconfigured go vet could lead to RCE #81737
The playground accepts arbitrary user input
in the form of a txtar file in the /compile
endpoint: https://golang.org/x/tools/txtar
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 lockdown the execution env.
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.
We now use os.Root to ensure that user-provided
archives cannot escape the execution context.
Thanks to splitline (@splitline) from DEVCORE
Research Team for reporting this issue.
changed the title [-]security: fix CVE-2026-94445[/-][+]x/playground: arbitrary user input and misconfigured `go vet` could lead to RCE[/+]on Sep 24, 2026
Activity
[-]security: fix CVE-2026-94445[/-][+]x/playground: arbitrary user input and misconfigured `go vet` could lead to RCE[/+]gopherbot commentedon Sep 24, 2026
Change https://go.dev/cl/838505 mentions this issue:
all: move snippet storage behind a Cloud Run servicegopherbot commentedon Sep 24, 2026
Change https://go.dev/cl/838485 mentions this issue:
all: use os.Root for handling user inputall: use os.Root for handling user input
all: move snippet storage behind a Cloud Run service