{
  "schema_version": "1.6.0",
  "id": "ACVE-2026-0008",
  "aliases": [],
  "published": "2026-09-19T00:00:00Z",
  "modified": "2026-09-19T00:00:00Z",
  "summary": "Gemini CLI yolo mode disables the tool approval boundary",
  "details": "## What the vulnerability is\n\nGemini CLI's yolo mode disables the normal approval boundary for tool use. This ACVE-native advisory describes a dangerous configuration combination rather than a newly assigned CVE: the harness is configured to bypass permissions, so tool requests can be accepted without the ordinary approval step.\n\n## Which configuration is exposed\n\nThe matcher requires `harness.id` `gemini-cli` and `permissionMode` equal to `bypassPermissions`. Those are the complete conditions encoded by this rule. It does not require a particular tool, repository, model, prompt, or MCP server, and it does not claim that every accepted tool is malicious; the exposure is the disabled approval boundary itself.\n\n## How ACVE detects it\n\nACVE reads `harness.id` and `permissionMode` from the lockfile. It cannot see which command or tool is about to run, whether the user intended yolo mode, or whether a separate operating-system control limits the process. The finding is a configuration warning that remains valid even when no tool has yet been invoked.\n\n## Fix\n\n1. Disable yolo mode by changing the permission mode from `bypassPermissions` to `default` or another mode that requires approval.\n2. Rebuild the lockfile and verify that the effective permission mode no longer bypasses approvals.\n\nBecause this is a policy weakness, the remediation is a settings change and a verification of the effective mode rather than a package upgrade.\n\nThe lockfile can show the effective mode, but it cannot show whether a person intended to accept the added risk for one particular task.\n\n## References\n\nSee `references` for primary sources.",
  "affected": [
    {
      "package": {
        "ecosystem": "AgentHarness",
        "name": "gemini-cli"
      },
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://example.com/research/acve"
    },
    {
      "type": "REPORT",
      "url": "https://example.com/research/acve"
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "5"
    }
  ],
  "database_specific": {
    "severity": "HIGH",
    "acve": {
      "specVersion": 1,
      "status": "candidate",
      "taxonomy": {
        "owasp_asi": [
          "ASI01"
        ],
        "atlas": [
          "AML.T0051"
        ]
      },
      "exploitation": {
        "vector": "malicious project or server configuration",
        "userInteraction": "required",
        "kev": false
      },
      "exposure": "local",
      "vulnClasses": [
        "unsafe-permission-mode"
      ],
      "cwe": [
        "CWE-693"
      ],
      "matcher": {
        "all": [
          {
            "field": "harness.id",
            "op": "eq",
            "value": "gemini-cli"
          },
          {
            "field": "permissionMode",
            "op": "eq",
            "value": "bypassPermissions"
          }
        ]
      },
      "fix": {
        "summary": "Disable yolo mode and require approval for tools.",
        "actions": [
          {
            "type": "reconfigure",
            "target": "agent.permissionMode",
            "to": "default",
            "why": "Restore the approval boundary before tools run."
          }
        ]
      },
      "noCveReason": "ACVE-native configuration weakness; no CVE assigned.",
      "grounding": {
        "osv": {
          "checkedAt": "2026-09-20T02:43:29Z",
          "found": false,
          "aliasesConfirmed": [],
          "packagesConfirmed": [],
          "fixedVersionsConfirmed": [],
          "cvss": []
        },
        "nvd": {
          "checkedAt": "2026-09-20T02:43:29Z",
          "found": false,
          "cvss": null,
          "published": null
        },
        "kev": {
          "checkedAt": "2026-09-20T02:43:29Z",
          "listed": false
        },
        "registry": {
          "checkedAt": "2026-09-20T02:43:29Z",
          "confirmed": [],
          "missing": []
        }
      }
    }
  }
}
