Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
build-pipeline-compromisewidely-deployed-product-advisorycredential-access-methodidentity-authentication-vulnerability

GitHub Actions Update Blocks Unsafe PR Checkouts Amid Workflow Injection Risks

Updated 1d agoFirst seen Jun 21, 20262 sources

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.

Share:
GitHub Actions Update Blocks Unsafe PR Checkouts Amid Workflow Injection Risks
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

4 events from the most recent confirmed update back to the earliest known activity.

4 EVENTS
Jul 16, 2026just now

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 Actions Checkout Now Blocks Risky pull_request_target...
Jun 20, 20263d ago

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 Actions Checkout Now Blocks Risky pull_request_target...

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.

GitHub Actions Checkout Now Blocks Risky pull_request_target...
Jun 19, 20264d ago

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.

GHSA-C3XH-98XP-6QHF: GHSA-C3XH-98XP-6QHF: Command Injection via Issue Title in Discord Notification Workflow | CVEReports
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

8 LINKEDOpen in app
Affected products
4 linked
NpmGithub CliGithubDiscord
Organizations
4 linked
GitHubTanstackPosthogDiscord
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.