CVE-2026-16082: Sipeed PicoClaw TOCTOU race condition in ExecTool.executeRun

CVE-2026-16082 · Severity: medium · CVSS 5.3 · Published 2026-07-18

Sipeed PicoClaw is an AI assistant framework written in Go. A security flaw allows a local attacker to trick the system into executing commands in a different directory than the one approved by a human or automated policy. This could lead to unauthorized file access or modification within the workspace, bypassing the safety checks intended to restrict where commands can run.

Technologies: Sipeed PicoClaw. Vendors: Sipeed.

Quick answers

Is CVE-2026-16082 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-16082 being exploited in the wild.
How severe is CVE-2026-16082?
Medium severity, with a CVSS score of 5.3, published 18 July 2026.
Which products and versions are affected?
Sipeed PicoClaw <= 0.2.9.
Is there a fix for CVE-2026-16082?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-16082 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-16082?
Check whether you run Sipeed PicoClaw at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A Time-of-Check Time-of-Use (TOCTOU) race condition exists in the ExecTool.executeRun function within pkg/agent/pipeline_execute.go. The vulnerability occurs because the approval hook inspects the working directory (cwd) argument before the tool re-resolves symlinks immediately prior to process execution in pkg/tools/shell.go. A local attacker can exploit this window by swapping a workspace-local symlink after approval is granted but before execution begins. This causes the command to run in an 'evil' directory while the approval mechanism believes it is running in a 'safe' one. While the attack is restricted to the workspace, it breaks the integrity of the approval flow for relative file operations and directory-sensitive commands. As of the advisory date, no patch is available and the issue was marked as 'not planned' by the maintainers.

Affected products

  • Sipeed PicoClaw <= 0.2.9

Timeline

  • 2026-07-18: disclosed
  • 2026-07-18: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.