# Self-hosted runners: Write (organization)

Tier 1 permission, `permission:organization_self_hosted_runners:write`. Page: https://ghtier.com/tier/permissions/organization-self-hosted-runners-write

Registers runners, also as one-job just-in-time runners, sets their labels and deletes them. Changes runner groups: which repositories and workflows may use them, whether public repositories may, and which network configuration they use. A runner the attacker controls receives the jobs, and the secrets, of every repository allowed to use it. Opening a group to public repositories lets a pull request from a fork run on its runners.

**Included in roles:** [Owner](https://ghtier.com/tier/roles/org-owner.md) (Tier 0), [CI/CD admin](https://ghtier.com/tier/roles/org-cicd-admin.md) (Tier 1)

**Reached by classic scopes:** [admin:org](https://ghtier.com/tier/tokens/admin-org.md) (Tier 0), [admin:enterprise](https://ghtier.com/tier/tokens/admin-enterprise.md) (Tier 0), [manage_runners:enterprise](https://ghtier.com/tier/tokens/manage-runners-enterprise.md) (Tier 1)

**Keys and policies that act as or change it:** [Runner registration token or JIT configuration](https://ghtier.com/tier/keys-policies/runner-registration.md) (Tier 1)

**Enables techniques:** [Register the attacker's machine as a runner](https://ghtier.com/attack-paths/technique-register-runner.md) (Tier 1)

**Starts escalations:** [Register a self-hosted runner](https://ghtier.com/attack-paths/escalation-admin-to-runner.md) (Tier 1), [Bake a backdoor into a custom runner image](https://ghtier.com/attack-paths/escalation-runner-group-to-image.md) (Tier 1)

**Strange findings:** [The repo scope can change organization settings](https://ghtier.com/strange-findings/finding-repo-scope-changes-org-settings.md), [A runner group serves every private repository by default](https://ghtier.com/strange-findings/finding-runner-groups-default-to-all-repositories.md)

**Sources:**
- [GitHub docs](https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps#organization-permissions-for-self-hosted-runners)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
