From 9884769ce4f45c53921ad2ac6a41a51562813797 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Fri, 12 Jun 2026 18:07:57 +0200 Subject: [PATCH] fix(ci): bump claude-code-action to v1.0.146 (CVE-2026-47751) (#21499) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What Bumps both \`anthropics/claude-code-action\` pins in \`.github/workflows/claude.yml\` from the floating \`v1\` SHA (\`dde2242\`) to \`v1.0.146\` (\`ac7e24b\`). ## Why The old pin predates the fix for **CVE-2026-47751** (Tenable TRA-2026-27, CVSSv4 5.3): claude-code-action checks out the PR head branch and unconditionally sets \`enableAllProjectMcpServers: true\`, so an attacker could ship a malicious \`.mcp.json\` in a PR branch and get arbitrary command execution in the runner — with access to workflow secrets — once a privileged user triggers the action. Fixed upstream in **claude-code-action 1.0.78** (released 2026-03-24). This pins to the current release, v1.0.146. ## Notes - \`claude.yml\` is the only workflow in the repo referencing the action; both job invocations (\`claude\` and \`claude-cross-repo\`) were updated. - All existing \`with:\` inputs remain valid in v1.0.146 — no deprecated args. Ref: https://www.tenable.com/security/research/tra-2026-27 Review in cubic --- .github/workflows/claude.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 835e2ec3b7..060607f667 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -80,7 +80,7 @@ jobs: uses: ./.github/actions/yarn-install - name: Run Claude Code id: claude-code - uses: anthropics/claude-code-action@dde2242db6af13460b916652159b6ba19a598f30 # v1 + uses: anthropics/claude-code-action@ac7e24bf2938964b8ab203e417a2773802392ddd # v1.0.146 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} additional_permissions: | @@ -170,7 +170,7 @@ jobs: core.setOutput('issue_number', p.issue_number); - name: Run Claude Code id: claude - uses: anthropics/claude-code-action@dde2242db6af13460b916652159b6ba19a598f30 # v1 + uses: anthropics/claude-code-action@ac7e24bf2938964b8ab203e417a2773802392ddd # v1.0.146 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} prompt: ${{ steps.prompt.outputs.prompt }}