The vulnerability (CVE-2026-61670) describes a local information disclosure issue where secret values are exposed in world-readable process arguments when the microsandbox SDK spawns a sandbox. The vulnerability description explicitly points to sdk/rust/lib/runtime/spawn.rs near lines 1241 and 1249-1251, showing code snippets where NetworkConfig and environment variables (containing secrets) are pushed onto the child process's argv (command-line arguments).
Analysis of the provided security patches (commits 2ac6a177b11212d392bf1e7dc77aaf14e4768aa8 and fbfb2366bfafad5e6df8778183f95fd8ca3c00a4) confirms these details. The patch for sdk/rust/lib/runtime/spawn.rs significantly refactors the spawn_sandbox function and, crucially, modifies the sandbox_cli_args helper function. The removed lines from sandbox_cli_args directly correspond to the code snippets identified in the vulnerability description that were responsible for adding the --network-config JSON blob and --env KEY=VALUE pairs to the command line.
The fix involves introducing a LaunchConfig struct and passing this bulk configuration over an inherited file descriptor (--config-fd) instead of as command-line arguments. Therefore, the sandbox_cli_args function, in its state prior to these patches, was the direct point where sensitive data was improperly placed into the process's command-line arguments, making it the vulnerable function. A Rust profiler would show spawn::sandbox_cli_args in the stack trace when the command-line arguments are being constructed.