• security
  • GitHub
  • access control
  • vulnerability disclosure

Give vulnerability responders the access they need, not repository admin

A beginner-friendly guide to GitHub's new security advisory permissions: what each one allows, how to design custom repository roles around your disclosure process, and how to check effective access with gh api.

A researcher finds a bug in your open-source library and reports it privately through GitHub. Someone on your team needs to read the report, talk to the researcher and prepare a fix. Until recently, the simplest way to let them do that was to make them a repository administrator. But admin also lets them change repository settings, edit branch protection and manage everyone else’s access. That is far more power than reading a bug report requires.

GitHub’s November 20, 2026 general-availability announcement adds four security-advisory permissions to custom repository roles. Eligible organizations can now give responders only the advisory access they need, on only the repositories they support. This article explains the terms, what each permission does, how to design roles, and how to check the result. GitHub’s announcement

A few terms first

  • Repository security advisory: a private workspace on a GitHub repository where maintainers discuss a vulnerability, prepare a fix and, when ready, publish a public advisory.
  • Private vulnerability reporting: a GitHub feature that lets outsiders report a vulnerability privately. The report arrives as a draft advisory.
  • CVE: a public ID for a vulnerability. GitHub can request one for you when you publish an advisory.
  • Temporary private fork: a private copy of the repository, created from an advisory, where the team can develop a fix without revealing it publicly.
  • Repository role: a named set of permissions on a repository. GitHub’s built-in roles are read, triage, write, maintain and admin.
  • Custom repository role: a role an organization defines itself. It starts from a base role (read, triage, write or maintain) and adds extra permissions. Custom roles are available only on plans that support them, including GitHub Enterprise Cloud. About custom repository roles
  • Least privilege: give each person only the access their task needs.

The four new permissions

You find them under Security when you create or edit a custom repository role. According to GitHub’s changelog:

  1. View security advisories: view draft security advisories, their status and comments.
  2. Create, Edit, and Manage security advisories: everything in View, plus create and edit advisories, comment, manage collaborators on the advisory, and create a temporary private fork.
  3. Accept private vulnerability reports and close or reopen security advisories: requires View or Create, Edit, and Manage.
  4. Publish security advisories and request CVEs: also requires View or Create, Edit, and Manage.

Notice that permission 2 is broader than its name suggests. It lets the holder add outside collaborators (for example, the researcher) to the advisory and create the private fork where code changes happen. Give it to people you trust to run the coordination, not just to anyone who needs to read drafts.

The limits that still apply

GitHub documents several boundaries:

  • Merging changes from a temporary private fork still requires a repository administrator or security manager.
  • People with the advisory permissions cannot delete a temporary private fork.
  • Confidential comments require Create, Edit, and Manage plus write access to the repository.

So these permissions do not replace repository access, and they do not make the whole private-fork workflow independent of admins. GitHub advisory permissions reference

Also, these controls apply to a project’s own repository advisories. GitHub’s global Advisory Database has different contribution rules. A repository role does not give control over the global database.

Step 1: map your disclosure process to permissions

Before touching settings, write down what actually happens when a report arrives. A typical flow:

  1. Someone reads the report.
  2. Someone accepts it (or closes it as invalid).
  3. Someone coordinates with the reporter and opens a private fork.
  4. A developer writes the fix.
  5. An admin or security manager merges it.
  6. Someone decides when to publish and requests a CVE.

Then give each step to the smallest group that needs it. An example design:

Group Possible advisory access Why
Intake responders View; accept private reports Triage reports without administering the repository
Product security Create, Edit, and Manage Coordinate the advisory, its collaborators and the private fork
Release approvers Publish and request CVEs (with View) Keep public disclosure decisions with a small group
Repository maintainers Their existing code access, plus only the advisory permission they need Prepare and review the fix

This is an example, not a GitHub-prescribed setup. Your teams and repositories will differ.

Step 2: create the custom role

In the organization’s settings, open the Access section of the sidebar and click Repository roles. Under Custom roles, create a role, pick a base role, and add the advisory permissions from the Security group. Managing custom repository roles

To review the result from the command line, GitHub’s REST API has an endpoint that lists an organization’s custom repository roles, including each role’s base role and permissions:

gh api /orgs/<org>/custom-repository-roles \
  --jq '.custom_roles[] | {name, base_role, permissions}'

gh is GitHub’s command-line tool; gh api sends an authenticated request to the REST API, and --jq filters the JSON reply. You must be an administrator of the organization or of one of its repositories. This command was not run here, because the test account has no organization with custom roles. REST API: custom repository roles

Step 3: assign the role on one repository, then check effective access

Assign the role to a test team on a single repository first. Then check what a member can actually do. Permissions on GitHub are additive: a narrow role does not take away broader access the person already has through the organization’s base permission or another team. So check the effective result, not the role label. Access precedence

This endpoint returns one user’s permission on one repository:

gh api /repos/<owner>/<repo>/collaborators/<username>/permission \
  --jq '{permission, role_name}'

The reply has two useful fields. permission uses the old base levels (admin, write, read or none). role_name shows the name of the assigned role, including custom roles. Tested with gh 2.83.2 on a personal repository, it returned {"permission":"admin","role_name":"admin"} for the owner. For a responder with your new role, you would expect role_name to show the custom role’s name. If it shows admin or write instead, the person has broader access from somewhere else. REST API: repository permissions for a user

Step 4: test the workflow, including what should fail

Use a low-risk draft advisory or a test repository. With an account that holds the new role, check both sides:

  • Should work: view the draft, accept the report, comment (or whatever the role is for).
  • Should fail: publish, request a CVE, merge from the private fork, access advisories on a repository the team does not support.

A test that only checks what works can miss a role that is too broad.

Step 5: keep it reviewed

Review roles when team membership changes, when repositories move between teams, or when your disclosure process changes. Keep an administrator or security manager named for the steps GitHub still reserves for them, such as merging fixes from a private fork.

Common mistakes

  • Treating “Create, Edit, and Manage” as an editor role. It also manages advisory collaborators and creates private forks.
  • Forgetting additive access. A narrow role on top of an admin team membership still leaves admin.
  • Checking the role list instead of a real user. Use the permission endpoint on an actual member.
  • Assuming responders can finish alone. Merging from the private fork still needs an admin or security manager.
  • Confusing repository advisories with the global Advisory Database.

Narrow roles also matter during incidents: the 1Password November 2026 incident review shows how much a single compromised identity can reach when it holds broad source-control access.

Conclusion

GitHub’s advisory permissions let eligible organizations involve security responders without making them repository administrators. Map the permissions to the steps of your disclosure process, apply them only to the repositories each team supports, and verify effective access with a real member and a real test, including the actions that should fail.

Written by Duy Pham Independent developer. I build the apps on this site and write about how they work.

More about me