Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105767 Overview
CVE-2026-105767 is an OS command injection vulnerability [CWE-78] in the integrate-platform-docs composite GitHub Action used by the Chainguard Academy (edu) repository. The flaw exists in commits from 7375a80caabcc31c33ec90f29687ed78c13d16ff up to (but not including) fb0efb2537d326ab18c07d620875b8ed2a4b39f3. An actor who controls the project_id or storage_bucket inputs can execute arbitrary shell commands on the GitHub Actions runner. The inputs are interpolated directly into Bash gcloud storage cp commands through ${{ inputs.* }} expressions. The only in-repository caller passed repository secrets and ran only on trusted triggers, so no untrusted input was known to reach the vulnerable steps.
Critical Impact
An attacker able to control the project_id or storage_bucket inputs can execute arbitrary shell commands on the GitHub Actions runner, exposing repository secrets and build artifacts.
Affected Products
- Chainguard Academy (edu) repository composite action integrate-platform-docs
- Commits from 7375a80caabcc31c33ec90f29687ed78c13d16ff and later
- Fixed in commit fb0efb2537d326ab18c07d620875b8ed2a4b39f3
Discovery Timeline
- 2026-10-05 - CVE-2026-105767 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-105767
Vulnerability Analysis
The integrate-platform-docs composite GitHub Action defines several steps that invoke gcloud storage cp through Bash run: blocks. Instead of passing user-controlled values via environment variables or quoted arguments, the workflow template interpolates ${{ inputs.project_id }} and ${{ inputs.storage_bucket }} directly into the shell command strings. GitHub Actions performs this interpolation before the shell parses the resulting script. Any shell metacharacter present in the input values becomes executable syntax at runtime on the runner.
This is a textbook template-injection pattern in composite actions, classified as improper neutralization of special elements used in an OS command [CWE-78]. Successful exploitation yields code execution within the GitHub Actions runner context. From there, an attacker can read environment secrets, exfiltrate repository tokens, tamper with build artifacts, or pivot into connected cloud projects via the authenticated gcloud session.
The sole in-repository caller invoked the action with repository secrets and only on trusted triggers. No path from untrusted input to the vulnerable steps was documented, which limits practical exploitability to actors who already have write access to workflows that call the action.
Root Cause
The root cause is unsafe interpolation of workflow inputs into Bash command strings via ${{ inputs.project_id }} and ${{ inputs.storage_bucket }}. GitHub's recommended practice is to bind inputs to env: variables and reference them as shell variables inside quotes, which prevents the Actions runtime from substituting raw user input into script bodies.
Attack Vector
An actor who can supply values for the project_id or storage_bucket inputs — typically a maintainer or a workflow author in a downstream repository that calls the composite action — can embed shell metacharacters such as ;, &&, or $() to execute arbitrary commands on the runner. See the fix in GitHub Pull Request #3471 and the GitHub Commit Update for the specific lines modified.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-105767
Indicators of Compromise
- Unexpected child processes spawned by the gcloud CLI during integrate-platform-docs workflow runs.
- Outbound network connections from GitHub Actions runners to attacker-controlled hosts during the composite action's execution.
- Workflow logs containing shell metacharacters (;, &&, $(), backticks) in the project_id or storage_bucket input values.
Detection Strategies
- Audit all workflow files that call integrate-platform-docs and flag any that pass non-secret or externally sourced values to project_id or storage_bucket.
- Scan the repository for ${{ inputs.* }} or ${{ github.* }} expressions interpolated directly inside run: blocks using tools such as actionlint or zizmor.
- Review GitHub Actions audit logs for anomalous runs of the action on non-trusted triggers (for example, pull_request_target from forks).
Monitoring Recommendations
- Enable GitHub Actions runner telemetry forwarding and alert on new process trees under the composite action's step IDs.
- Monitor Google Cloud audit logs for gcloud storage API activity originating from GitHub-hosted runner IP ranges outside expected windows.
- Track commit SHAs of the action in use and alert when callers reference commits older than fb0efb2537d326ab18c07d620875b8ed2a4b39f3.
How to Mitigate CVE-2026-105767
Immediate Actions Required
- Pin all callers of integrate-platform-docs to commit fb0efb2537d326ab18c07d620875b8ed2a4b39f3 or later.
- Review branch protection and workflow trigger configuration to ensure the action never runs on untrusted events such as pull_request from forks.
- Rotate any GitHub tokens, GCP service account keys, or secrets that were available to runners executing vulnerable versions of the action.
Patch Information
The fix is published in commit fb0efb2537d326ab18c07d620875b8ed2a4b39f3 of the chainguard-dev/edu repository via GitHub Pull Request #3471. The patch replaces direct ${{ inputs.* }} interpolation inside Bash with safe env: bindings, so inputs are referenced as quoted shell variables rather than substituted into the script body.
Workarounds
- Fork the action and refactor affected steps to pass project_id and storage_bucket via env: blocks, then reference them as "$PROJECT_ID" and "$STORAGE_BUCKET" inside the shell.
- Restrict who can modify callers of the composite action by requiring code owner review on workflow file changes.
- Validate input values with an allowlist regex (for example, ^[a-z0-9-]+$) in a preliminary step before invoking the action.
# Configuration example: safe invocation pattern for Bash steps
- name: Upload docs
env:
PROJECT_ID: ${{ inputs.project_id }}
STORAGE_BUCKET: ${{ inputs.storage_bucket }}
run: |
gcloud storage cp ./site "gs://${STORAGE_BUCKET}" --project "${PROJECT_ID}"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

