Intel

AIKIDO-2026-531727

risc0-zkvm is vulnerable to Reliance on Untrusted Inputs in a Security Decision

GHSA-349p-x622-29x6Published Jul 28, 2026
July 28, 2026

29

CVE Score

Low

Reliance on Untrusted Inputs in a Security Decision

Are you affected? Scan for Free

TL;DR

The zkVM exposes host-backed syscalls sys_getenv, sys_argc, and sys_argv so guest programs can read environment variables and arguments supplied by the proving host. These syscalls are enabled by default and their values are treated as trusted, even though a zkVM guest generally should not trust the host in zero-knowledge threat models. A malicious proving host can supply crafted environment or argument values to influence guest execution and induce insecure behavior in guests that consume them. The fix disables these syscalls by default and requires guests to opt in through a feature flag.

How do I fix this?

Upgrade the risc0-zkvm library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your guest program consumes host-provided values through sys_getenv, sys_argc, or sys_argv while being proven on an untrusted host.

Package

Versions

0.0.1 - 1.1.2

Fixed in 1.1.3

Background info

risc0-zkvm is vulnerable to Reliance on Untrusted Inputs in a Security Decision in versions 0.0.1 - 1.1.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea