{
  "id": 22755841,
  "title": "snow-cli Let a Subagent Approval Check Make the Wrong Decision",
  "url": "https://urgent.news/2026/11/30/snow-cli-let-a-subagent-approval-check-make-the-wrong-decision",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-30T09:13:31.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/johnettwawers/snow-cli-let-a-subagent-approval-check-make-the-wrong-decision-2j5g"
  },
  "original_language": null,
  "account": "CVE-2026-138297 affects MayDay-wpf snow-cli versions up to and including 0.9.14 due to a subagent approval check vulnerability. The issue lies within the checkAndApproveTools() function in source/utils/execution/subAgentToolApproval.ts. This subagent tool-approval component makes an incorrect authorization determination. Version 0.9.15 includes the necessary fix. Agentic command-line tools connect language models to various local files, shells, browsers, and remote services. Approval prompts are crucial for maintaining security when these tools can execute actions. An erroneous approval can permit a subagent to carry out an action beyond the operator's explicit permission. It is essential to scrutinize the decision-making process rather than the approval prompt itself. The approval dialog is only meaningful if the tool's code references the identical policy object as the displayed dialog. Operators should cross-reference the tool name, arguments, target resource, and scope displayed in the dialog with the actual values utilized during execution. They must also examine fallback paths that automatically approve unrecognized tool names, default to an allow decision, or trust a subagent's self-reported risk level. The CVE record does not guarantee that every agent invocation is vulnerable. The recommended engineering response begins by documenting what the subagent requested, what the operator approved, and what actually executed. During incident review, operators should reconcile these records. To mitigate the risk, operators should upgrade to version 0.9.15 or later after confirming the release artifact. Building a test harness with a harmless file writer and shell command is also advised. Operators should attempt unapproved tool names, altered arguments, nested subagents, and repeated requests following a denial. Confirmed unknown tools should fail closed, and approval for one action should not automatically grant approval for another. Operators should review shell history, generated files, and outbound connections from agents that utilized the affected version. Revoking long-lived credentials stored in the CLI environment and implementing short-lived, resource-scoped credentials for future runs is also recommended. Additionally, destructive actions should be restricted behind a separate human confirmation path.",
  "summary": "snow-cli Let a Subagent Approval Check Make the Wrong Decision CVE-2026-138297 affects MayDay-wpf snow-cli through 0.9.14. The issue is in checkAndApproveTools() in source/utils/execution/subAgentToolApproval.ts . The subagent tool-approval component makes an improper authorization decision. Version 0.9.15 contains the fix. Agentic command-line tools connect a language model to local files,…",
  "summary_source": "publisher",
  "key_points": [
    "CVE-2026-138297 affects snow-cli versions up to 0.9.14",
    "checkAndApproveTools() function makes incorrect authorization determination",
    "Upgrade to version 0.9.15 or later to mitigate risk"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}