← Lab /Security & privacy

38% of organizations have GitHub Actions workflows vulnerable to script injection or dangerous triggers

38% of organizations have a GitHub Actions workflow vulnerable to script injection or dangerous trigger issues.

Security & privacy Datadog Security Labs 2 Jun 2026 Measurement Real-world evidence

Published as “The case for GitHub Actions security after recent supply chain attacks”

Why it matters

The high prevalence of vulnerable GitHub Actions workflows indicates a significant attack surface in modern CI/CD pipelines.

Summary

The writeup surveys organizations and finds that 38% have GitHub Actions workflows vulnerable to script injection or dangerous triggers, and 71% never pin actions to a commit SHA. It highlights recent supply-chain attacks that exploited pull_request_target, untrusted input, and compromised credentials. The authors point to upcoming GitHub security roadmap features but note that proper configuration is required. Evidence is based on the 2026 State of DevSecOps report and internal observations of attacks such as s1ngularity and hackerbot-claw.

What they found 2

  1. 38% of organizations have a GitHub Actions workflow vulnerable to script injection or dangerous trigger issues

    “38% of organizations have a GitHub Actions workflow vulnerable to script injection or dangerous trigger issues”

  2. 71% of organizations never pin the hash for any of their actions

    “71% of organizations never pin the hash for any of their actions”

Caveats 1

  • We confirmed that the existing detections and preventative controls we had in place stopped the attack from being successful.

What’s new here 4

  • First measurement showing 38% of orgs have vulnerable GitHub Actions workflows.
  • Identification that 71% of orgs never pin actions to a commit SHA.
  • Analysis of three recent high-profile supply-chain attacks targeting GitHub Actions.
  • Summary of GitHub's upcoming security roadmap features for deterministic dependencies and scoped secrets.