GitHub Blocks pull_request_target in Public Repos Dec. 2, and PSF Maintainers Show the Allowlist
Security / news
GitHub Blocks pull_request_target in Public Repos Dec. 2, and PSF Maintainers Show the Allowlist
The default applies even to workflows that use the trigger safely, and two sources disagree on whether Free-plan organizations need repository-level policies.

Starting Dec. 2, GitHub Actions will block pull_request_target events in every public repository on Free, Team and Enterprise Cloud plans unless an Actions event policy explicitly allows them. Maintainers at the Python Software Foundation published a walkthrough on Nov. 20 for the organization-level allowlist that gets a project ready.
What GitHub is changing and when
GitHub's changelog entry, dated Nov. 2, says the trigger "runs in the context of the base repository and can access its secrets," which is why a workflow that runs a fork's code under it can leak those secrets. Private and internal repositories are not affected, and neither is GitHub Enterprise Server. Enforcement was first set for Nov. 2 and moved to Dec. 2.
| Date | Event |
|---|---|
| Nov. 2 | Original enforcement date, postponed |
| Nov. 9, 16:00 to 18:00 UTC | First brownout: blocked runs fail with an error annotation |
| Nov. 16, 16:00 to 18:00 UTC | Second brownout, same behavior |
| Nov. 17 | Per Socket, GitHub makes Actions policies free on all plans |
| Dec. 2 | Default block begins |
The rule starts in evaluate mode, so workflows run with warnings and Insights shows what would be blocked. The changelog says the default rule returns to evaluate mode after each brownout window.
Why the block covers safe workflows too
Socket, in a Nov. 5 article by Sarah Gooding, notes that the new default blocks the trigger itself "including for workflows that use it safely." GitHub made a narrower change in June 2026, when actions/checkout began rejecting unsafe fork checkouts in privileged workflows unless overridden. Socket links the trigger to supply chain attacks on Nx, PostHog and TanStack, without giving dates for them.
A maintainer, George Joseph, asked in a GitHub Community discussion: "How would us mere mortals who run open-source organizations see what workflows would be affected?" The answer in GitHub's changelog is the Insights view, which works only once the rule is in place.

The Python Software Foundation's allowlist
Mike Fiedler, PyPI Safety and Security Engineer at the Python Software Foundation, and Seth Larson, the foundation's Security Developer-in-Residence, wrote the Alpha-Omega post, last updated Nov. 20. Alpha-Omega funds both roles. The post describes the work across the pypi and python GitHub organizations and says Fiedler set up the event policy for pypi.
Their method is an allowlist rather than a blocklist. The post's line on why: "The point of an allowlist is that each entry was a decision, not the default which can change upstream at any time."
| Trigger | Post's concern | On their allowlist |
|---|---|---|
pull_request_target | Read/write token and secrets; a fork's code can run | No |
issue_comment | Runs with secrets when anyone comments | No |
issues | Clinejection research began with an opened issue | No |
workflow_run | PR artifacts are untrusted; avoid for publishing | Yes |
pull_request, push, release, schedule | Not flagged | Yes |
The steps run from code search and gh run list, to a policy in Evaluate mode watched across a full release cycle, then enforcement. The post recommends zizmor, a workflow scanner, for per-repository checks. The Terminal reported that GitHub Actions accepts YAML which breaks zizmor, a gap anyone relying on the scanner should know about.
Where the sources disagree
The Alpha-Omega post says that on Free plans organization policies need a paid plan, so each public repository needs its own repository-level policy. Socket's update of Nov. 17 says GitHub made Actions policies, including evaluation and Insights, free across all plan types. The post was updated three days after Socket's note, and this article could not tell from either whether the post's Free-plan instructions are still needed. GitHub's changelog does not address it.
The registries have their own rules. According to the post, PyPI Trusted Publishing rejects tokens from pull_request_target and issue_comment workflows, npm added issue_comment in October 2026 and crates.io rejects pull_request_target and workflow_run. That last item sits oddly against the post's own allowlist, which keeps workflow_run.
Projects hit through these triggers include Ultralytics in December 2024, elementary-data in April 2026 and AsyncAPI in July 2026, and the post also names LiteLLM, whose CVE-2026-40217 is on CISA's catalog. Neither source counts how many repositories use the trigger. The Insights view is the only way to learn that for a given organization before Dec. 2.
Sources
More in Security
- 01MoEngage Breach Through a Vendor Account Exposes WazirX and ZebPay User DataMoEngage says fewer than 1 percent of customer accounts were hit, but it has not named the vendor or said when it contained the intrusion.
- 02GL.iNet Cloud Flaw Planted Malware on Routers and KVMs, and the Notice Carries No CVEThe vendor says the attack path is closed but infected devices stay compromised until firmware 4.7.14 through 4.11.1 (routers) or 1.8.7 and 1.10.3 (KVMs) is installed.
- 03Claude-BugHunter Has 18,612 Stars, 83 Skills and No Named CVE to Show for ThemThe Claude Code bug-hunting bundle appends a source line to your shell rc, and the Anthropic program its README recommends has no red-team tier for individuals.
- 04SignDrop Exploit Turns Microsoft's CLFS Hardening Into a SYSTEM PathThe proof of concept works only on machines where the 2025 log-file authentication mitigation is switched on, and Microsoft has said only that it is investigating.