Skip to content
Research Access control

GitHub Actions Pwn request risk shifts to opt-ins and legacy checkout versions after 2026 changes

GitHub's 2026 platform changes make default pull_request_target exploitation harder, but gaps remain in explicit opt-ins, outdated checkout versions and unprotected triggers.

Reported by Wiz

First reported Summary updated

Read the coverage
Public PoC
Not known
Exploited
Not known
Severity
Not rated

What happened

GitHub introduced a series of platform-level protections during 2026, including checkout protections, read-only cache tokens and event policies, to reduce the risk from pull_request_target workflows.1

The changes do not eliminate the vulnerability class; they shift exploitation toward explicit opt-ins, outdated checkout versions, unprotected triggers or script injection.1

From 2 December 2026 GitHub will enforce a default event policy that blocks pull_request_target in public repositories without an explicit event policy, though private and internal repositories are not affected.1

The enforcement is a default rather than a ban, so maintainers who rely on pull_request_target can add an event policy that allows it, preserving the risk in those workflows.1

Who is affected

  • GitHub Actions workflows using actions/checkout, versions prior to v2.8.0, v3.7.0, v4.4.0, v5.1.0, v6.1.0 or v7.0.01
  • GitHub Actions workflows using issue_comment trigger1

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

What to do

  • Update SHA-pinned actions/checkout references to at least v2.8.0, v3.7.0, v4.4.0, v5.1.0, v6.1.0 or v7.0.0 to retain the backported protections.1
  • Review workflows that fetch code without actions/checkout, such as direct git clone, gh pr checkout or third-party checkout actions, because they bypass the protections.1

For bug hunters

The underlying bug class is access control: untrusted pull request input reaches a workflow that runs with repository secrets or write permissions. In bug bounty programmes, look at CI/CD integrations, GitHub Actions workflows and any automation that processes fork pull requests or issue comments. Check whether privileged triggers such as pull_request_target or issue_comment are used, whether checkout is pinned to a patched version, and whether custom scripts or third-party actions fetch fork code directly.

What to test

  • Open a pull request from a fork and see if any workflow runs with secrets or write token.
  • Comment a bot command such as /deploy on an issue and check whether it executes fork code.
  • Inspect workflow files for pull_request_target or workflow_run triggers and their checkout step version.
  • Look for direct git clone or gh pr checkout commands that bypass actions/checkout protections.

The Access control lesson Every Access control report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

    Wiz

    The Pwn Request Reckoning: What Still Works Against GitHub Actions
    “For years, pullrequesttarget has been the canonical Pwn request vector: a workflow trigger that runs with repository secrets, yet can be triggered by anyone who…”

Disclosed reports for GitHub

View all

The newest public reports from its bug bounty program.

Reports about Access control

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, Access control first.