Skip to content
GitHub to Block pull_request_target Workflows by Default on December 2, 2026

GitHub to Block pull_request_target Workflows by Default on December 2, 2026

First seen 5 Nov 2026, 21:47 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 5, 2026 at 21:47 UTC
  • •Starting December 2, 2026, GitHub will block pull_request_target workflows by default in public repositories.
  • •The change aims to mitigate risks from executing untrusted code that could compromise sensitive data.
  • •Repository administrators must explicitly allow the pull_request_target event for workflows to run.

GitHub will enforce a default block on pull_request_target workflows in public repositories starting December 2, 2026, to enhance security against CI/CD vulnerabilities. This change, initially announced in September 2026, aims to prevent attackers from exploiting these workflows to access sensitive credentials. The pull_request_target event allows workflows to run with elevated privileges, which can be dangerous if untrusted code is executed. GitHub's previous measures in June 2026 had already restricted unsafe fork checkouts, but the upcoming policy will block the event entirely unless explicitly allowed by repository administrators. The enforcement was postponed from an earlier date of November 2, 2026, providing maintainers additional time to adjust their workflows. Currently, the policy is in evaluation mode, allowing workflows to run while identifying potential impacts. This change follows warnings from researchers about vulnerabilities associated with pull_request_target since 2021.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-09-17
Workflow execution protections announced
GitHub made workflow execution protections generally available, allowing for control over who can trigger workflows.
GitHub Blog
2026-11-02
Initial enforcement date postponed
GitHub confirmed the enforcement of the pull_request_target block was postponed from November 2 to December 2, 2026.
GitHub Blog
2026-11-05
Current evaluation mode confirmed
GitHub is currently running the new default restriction in evaluation mode, allowing workflows to continue while identifying impacts.
Socket.Dev

More articles in this cluster (6)

Common questions

What is the pull_request_target event?
The pull_request_target event allows workflows to run with access to the base repository's secrets, which can pose security risks.
How can I prepare for the December 2 enforcement?
Review your workflows and update your policies to explicitly allow or restrict the pull_request_target event as needed.
Are private repositories affected by this change?
No, the enforcement of the pull_request_target block only applies to public repositories.