GitHub Actions Update Blocks Unsafe PR Checkouts Amid Workflow Injection Risks
GitHub released actions/checkout@v7 with a new default safeguard that blocks unsafe checkouts of code from untrusted pull requests in privileged pull_request_target and some workflow_run scenarios. The change is designed to stop common “pwn request” patterns that can expose a repository’s GITHUB_TOKEN, secrets, cache access, and runner environment when workflows fetch and execute attacker-controlled fork code. GitHub said the protection is available immediately in v7 and will be backported to supported major versions, while narrowly pinned deployments must be updated manually.
The move follows years of warnings about GitHub Actions supply-chain abuse and fresh examples showing how workflow misconfigurations can lead to token theft, cache poisoning, OIDC token abuse, and malicious package publication. Separately, a disclosed advisory tracked as GHSA-C3XH-98XP-6QHF described a command-injection flaw in a GitHub Actions workflow where an attacker could open an issue on a public repository with a crafted title and trigger shell execution on the runner, potentially exposing runner tokens and secrets including DISCORD_WEBHOOK_URL_ISSUE. Together, the developments underscore how untrusted repository input in CI workflows can quickly become credential exposure and downstream supply-chain compromise.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
GitHub schedules backport of checkout protection to supported major versions
GitHub said the new checkout protection will be backported to all currently supported major versions, while narrowly pinned versions will require manual upgrades. The backport date was stated explicitly in the source.
GitHub releases actions/checkout v7 with unsafe PR checkout protection
GitHub released actions/checkout v7 with a new default protection that blocks unsafe fork-based checkouts in pull_request_target workflows and certain workflow_run cases. The change is intended to stop common "pwn request" patterns that could expose the base repository's GITHUB_TOKEN, secrets, cache access, and runner environment.
GitHub Security Lab publicly documents pull_request_target workflow risk
The risky pattern in which privileged workflows check out and execute code from untrusted pull requests had been publicly documented by GitHub Security Lab since at least 2021, establishing the long-standing supply chain risk later addressed by GitHub.
Command injection in Discord notification workflow is disclosed
A disclosed GitHub Actions workflow vulnerability allows any authenticated GitHub user to trigger command injection by opening an issue with a crafted title on a public repository. The injected payload can execute on the workflow runner and expose sensitive data including runner access tokens and repository secrets such as DISCORD_WEBHOOK_URL_ISSUE.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.

