ghtier
← All permissions
Organization permission·organization_dependabot_secrets:write

Organization dependabot secrets: Write

Tier 2 · Medium

Why Tier 2

Creates, overwrites and deletes the secrets Dependabot uses for private registries, and chooses which repositories get them. A swap only replaces a credential: the registry URL lives in dependabot.yml or the organization's private registry settings, so it breaks updates rather than redirecting them.

Can reach T1 when a Dependabot secret holds a registry token that can publish, and the caller can change workflows on the default branch of a repository it adds to that secret: the next pull request Dependabot opens runs them with Dependabot secrets. A change pushed to Dependabot's own branch runs as the pusher, with Actions secrets instead.

Tested: GitHub Docs: secrets, GitHub Docs: troubleshooting dependabot on github actionsTested 2026-10-28 in a test organization: A pull_request workflow on the default branch ran in Dependabot's pull request with the Dependabot secret and no Actions secret. A workflow change pushed by a member to Dependabot's branch ran as that member with the Actions secret only, and Dependabot then refused to rebase the edited branch.

Target
Organization
Plane
DataSecrets: Actions, environment, Dependabot, Codespaces and agent secrets, private registries and OIDC.
Granted by
Fine-grained PAT, GitHub App
Available on
Every setup

What it unlocks

5 REST endpoints need this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.

  • PUT /orgs/{org}/dependabot/secrets/{secret_name}
  • DELETE /orgs/{org}/dependabot/secrets/{secret_name}
  • PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories
  • PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}also needs a permission GitHub's data does not name
  • DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}also needs a permission GitHub's data does not name

Roles that include it

No built-in role includes it. Only tokens, Apps or custom roles can grant it.

Classic scopes that reach it

Attack paths

No attack technique, escalation or incident on ghtier goes through this yet.

Other levels

GitHub Docs: Organization permissions for "Organization dependabot secrets"