ghtier

Edition 2026-Q4 · reviewed 11 October 2026 · next review 15 January 2027 · methodology

GitHub threat landscape

Attacks on GitHub in 2026 are faster and more automated than the frameworks written to describe them. Campaigns scan all of public GitHub for one weak workflow, push credential stealers into thousands of repositories in an afternoon, and spread through package registries with tokens taken from the last victim. This page follows those campaigns, maps every incident on ghtier to OWASP CI/CD and NIST SP 800-204D, and points at the controls that would have broken them.

Built from a curated set of 32 incidents, not a measure of how often things happen.

Why access in GitHub is hard to keep track of

GitHub grants access in more ways than most teams keep track of. A person can get write access to a repository through the organization's base permission, a team, a direct invite, a custom role or by being an owner. A workflow gets it from its GITHUB_TOKEN, an App from its installation, and a laptop from a classic token someone created three years ago and never revoked.

Each of those speaks its own language. Classic tokens use scopes, fine-grained tokens and Apps use permissions, people get roles, machines use keys, and settings decide which of them is allowed at all. Pushing to the default branch can be allowed by any of them, and blocked by a ruleset that some of them can bypass.

The map keeps growing. New features such as coding agents, rulesets, custom properties and artifact attestations bring new permissions and settings, and the older ways of granting access stay for compatibility. ghtier reads GitHub's permission, role and scope data every week and records what changed. An attacker only needs one path through it, which is what the rest of this page is about.

  1. Which GitHub?5setups
    • Free
    • Team
    • Enterprise Cloud
    • EMU
    • Server
  2. How was it given?25ways to grant access
    • 11 organization
    • 5 workload
    • 3 enterprise
    • 3 user
    • 3 application
  3. Who is the holder?27built-in roles
    • 155 role actions in GitHub's tables
    • 113 custom role permissions
  4. What do they hold?74token types, scopes and keys
    • 6 token types
    • 52 classic scopes
    • 16 keys and secrets
  5. What can it do?204permission levels
    • 113 permissions
    • 67 repository
    • 76 organization
    • 35 enterprise
    • 26 user
27 policies, grants and outside systems (SSO, IP allow list, PAT policy, rulesets, cloud trust) sit across all five layers and decide which of them are allowed at all. The same access is described in 5 different vocabularies: scopes, permissions, roles, keys and settings.
Counted from ghtier's own data at build time. GitHub's permission, role and scope tables are refreshed every week.

Where GitHub sits between code and cloud

Other tools secure the code, the packages, the cloud and what is exposed. Each of them meets GitHub, so whoever controls GitHub controls what reaches the rest.
  1. 1

    Source and developer machine

    SAST, SCA, secret scanning, endpoint security

    Developer tokens act on GitHub

  2. 2

    GitHub: repositories, Actions and access

    ghtier, posture and workflow scanners

    Trusted by the other four

  3. 3

    Packages, Actions and artifacts

    Signing, provenance, SBOMs, package scanning

    Published by workflows

  4. 4

    Cloud workloads

    CSPM, IaC scanning, code-to-cloud tracing

    Trusts workflows through OIDC

  5. 5

    Exposed services

    Attack surface management, DAST, patching

    Enterprise Server on the internet

OWASP CI/CD risks over time

Incidents per OWASP CI/CD risk, by the year they were first seen. One incident can count under several risks. The last column counts the 12 months up to 11 October 2026, from 11 October 2025. See also the NIST SP 800-204D crosswalk and the OWASP open source risks.

Framework shadow

What the 2026 campaigns rely on that OWASP CI/CD (2022) and NIST SP 800-204D (2024) cover only in part, or not at all.

Worms that publish with stolen tokens

NIST's supply chain model has propagation as a stage, and CICD-SEC-3 covers dependency chain abuse. Neither gives controls for breaking the loop of stolen token, malicious publish, next victim: no long-lived registry tokens, publishing only from a reviewed workflow, and a cooldown before new versions are installed. Trusted publishing helps, but a hijacked maintainer account can still trigger it, as ChainDrop did.

Speed and scale

The frameworks treat each misconfiguration on its own: does the control exist or not. Campaigns in 2026 scan all of public GitHub for one misconfiguration and exploit it within hours, so how fast a fix is rolled out across every repository matters as much as whether the control exists.

Incidents that fit the OWASP list only in part or not at all: CircleCI session-cookie theft (partial), GitHub's internal repositories taken through a VS Code extension (no fit), GlassWorm: editor extensions that steal GitHub tokens and force-push (partial), GitHub MCP / agentic token breadth (partial), Nx "s1ngularity" (partial), Shai-Hulud self-propagating npm worm (partial), Clinejection: prompt injection in an AI issue triage workflow (partial).

Controls that break the most recent incidents in this collection

Checklist items ranked by how many incidents first seen in the last 12 months they would have broken at least one step of, then by all incidents. A step counts when the item is listed as a fix for an attack path technique used in the incident. Breaking one step does not mean the incident would have been prevented.
  1. 18 recent · 16 all time
  2. 28 recent · 16 all time
  3. 37 recent · 13 all time
  4. 47 recent · 11 all time
  5. 57 recent · 11 all time
  6. 66 recent · 11 all time
  7. 75 recent · 13 all time
  8. 85 recent · 11 all time
  9. 95 recent · 9 all time
  10. 104 recent · 9 all time

Timeline

Every incident, newest first, by the date it was first seen.

2026

2025

2024

2023

2022

2021

How attacks flow

Every incident on ghtier, from the way the attacker got in to what they went after, using the attack paths. Colour shows the plane the incident hit: control (settings, identity, policy), data (code, secrets, workflows, packages), both, or the GHES platform itself.
31 incidents, 110 pathsControlControl and dataDataPlatformWay in not confirmed
  • Member with write access
    • → Take over the GHES appliance1
  • Leaked token
    • → Submit malicious code5
    • → Delete code or cover tracks1
    • → Point a release tag at a bad commit2
    • → Steal CI secrets and tokens10
    • → Poison the build or published package4
    • → Read or expose private code4
    • → Keep access4
  • Phished or hijacked account
    • → Submit malicious code1
    • → Delete code or cover tracks1
    • → Point a release tag at a bad commit1
    • → Steal CI secrets and tokens2
    • → Poison the build or published package2
    • → Read or expose private code3
    • → Keep access1
  • Compromised GitHub App or OAuth integration
    • → Read or expose private code1
  • Untrusted input reaches a privileged workflow
    • → Submit malicious code1
    • → Delete code or cover tracks1
    • → Point a release tag at a bad commit2
    • → Steal CI secrets and tokens9
    • → Poison the build or published package6
    • → Read or expose private code1
    • → Keep access1
  • Compromised Action or package
    • → Submit malicious code1
    • → Delete code or cover tracks4
    • → Point a release tag at a bad commit3
    • → Steal CI secrets and tokens7
    • → Poison the build or published package8
    • → Read or expose private code4
    • → Keep access3
  • Compromised developer tool or extension
    • → Delete code or cover tracks2
    • → Steal CI secrets and tokens1
    • → Poison the build or published package2
    • → Read or expose private code1
  • Prompt injection into an AI agent
    • → Steal CI secrets and tokens2
    • → Poison the build or published package1
    • → Read or expose private code1
  • Vulnerability in GitHub Enterprise Server
    • → Take over the GHES appliance6
Show as a table
Way inWent afterPlaneIncidents
Member with write accessTake over the GHES appliancePlatformCVE-2026-3854: push-option metadata RCE
Leaked tokenSubmit malicious codeDataDependabot impersonation, ArtiPACKED artifact token leakage, Ultralytics build cache poisoning, GhostAction
Leaked token (not confirmed)Submit malicious codeDataMegalodon: mass backdooring of CI workflows
Leaked tokenDelete code or cover tracksDataGitHub's internal repositories taken through a VS Code extension
Leaked tokenPoint a release tag at a bad commitDatatj-actions/changed-files supply-chain compromise (CVE-2025-30066), TeamPCP tag force-overwrite campaign
Leaked tokenSteal CI secrets and tokensControl and dataSalesloft Drift GitHub → AWS pivot, Shai-Hulud self-propagating npm worm
Leaked tokenSteal CI secrets and tokensDataDependabot impersonation, GitHub's internal repositories taken through a VS Code extension, tj-actions/changed-files supply-chain compromise (CVE-2025-30066), ArtiPACKED artifact token leakage, Ultralytics build cache poisoning, GhostAction, TeamPCP tag force-overwrite campaign
Leaked token (not confirmed)Steal CI secrets and tokensDataMegalodon: mass backdooring of CI workflows
Leaked tokenPoison the build or published packageControl and dataShai-Hulud self-propagating npm worm
Leaked tokenPoison the build or published packageDataGitHub's internal repositories taken through a VS Code extension, Ultralytics build cache poisoning, TeamPCP tag force-overwrite campaign
Leaked tokenRead or expose private codeControl and dataSalesloft Drift GitHub → AWS pivot, Shai-Hulud self-propagating npm worm
Leaked tokenRead or expose private codeDataMercedes-Benz source code exposure, GitHub's internal repositories taken through a VS Code extension
Leaked tokenKeep accessControl and dataSalesloft Drift GitHub → AWS pivot, Shai-Hulud self-propagating npm worm
Leaked tokenKeep accessDatatj-actions/changed-files supply-chain compromise (CVE-2025-30066)
Leaked token (not confirmed)Keep accessDataMegalodon: mass backdooring of CI workflows
Phished or hijacked account (not confirmed)Submit malicious codeControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Phished or hijacked account (not confirmed)Delete code or cover tracksControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Phished or hijacked account (not confirmed)Point a release tag at a bad commitControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Phished or hijacked accountSteal CI secrets and tokensControl and dataCircleCI session-cookie theft
Phished or hijacked account (not confirmed)Steal CI secrets and tokensControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Phished or hijacked accountPoison the build or published packageControl and dataToptal repo-visibility flip and wiper
Phished or hijacked account (not confirmed)Poison the build or published packageControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Phished or hijacked accountRead or expose private codeControlOAuth consent phishing at scale
Phished or hijacked accountRead or expose private codeControl and dataCircleCI session-cookie theft, Toptal repo-visibility flip and wiper
Phished or hijacked account (not confirmed)Keep accessControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Compromised GitHub App or OAuth integrationRead or expose private codeControl and dataHeroku / Travis CI OAuth token theft
Untrusted input reaches a privileged workflowSubmit malicious codeDataUltralytics build cache poisoning
Untrusted input reaches a privileged workflowDelete code or cover tracksControl and dataNx "s1ngularity"
Untrusted input reaches a privileged workflowPoint a release tag at a bad commitDatatj-actions/changed-files supply-chain compromise (CVE-2025-30066), TeamPCP tag force-overwrite campaign
Untrusted input reaches a privileged workflowSteal CI secrets and tokensControl and dataNx "s1ngularity"
Untrusted input reaches a privileged workflowSteal CI secrets and tokensDatatj-actions/changed-files supply-chain compromise (CVE-2025-30066), "Pwn requests": pull_request_target & workflow_run, Ultralytics build cache poisoning, Self-hosted runner takeovers (PyTorch and others), hackerbot-claw autonomous agent RCE, TeamPCP tag force-overwrite campaign, Actions cache poisoning (Angular, TanStack), prt-scan: automated pull_request_target attacks
Untrusted input reaches a privileged workflowPoison the build or published packageControl and dataNx "s1ngularity"
Untrusted input reaches a privileged workflowPoison the build or published packageDataUltralytics build cache poisoning, Self-hosted runner takeovers (PyTorch and others), TeamPCP tag force-overwrite campaign, Actions cache poisoning (Angular, TanStack), prt-scan: automated pull_request_target attacks
Untrusted input reaches a privileged workflowRead or expose private codeControl and dataNx "s1ngularity"
Untrusted input reaches a privileged workflowKeep accessDatatj-actions/changed-files supply-chain compromise (CVE-2025-30066)
Compromised Action or package (not confirmed)Submit malicious codeControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Compromised Action or packageDelete code or cover tracksControl and dataNx "s1ngularity"
Compromised Action or package (not confirmed)Delete code or cover tracksControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Compromised Action or packageDelete code or cover tracksDataGitHub's internal repositories taken through a VS Code extension, GlassWorm: editor extensions that steal GitHub tokens and force-push
Compromised Action or package (not confirmed)Point a release tag at a bad commitControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Compromised Action or packagePoint a release tag at a bad commitDatatj-actions/changed-files supply-chain compromise (CVE-2025-30066), TeamPCP tag force-overwrite campaign
Compromised Action or packageSteal CI secrets and tokensControl and dataNx "s1ngularity", Shai-Hulud self-propagating npm worm
Compromised Action or package (not confirmed)Steal CI secrets and tokensControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Compromised Action or packageSteal CI secrets and tokensDataGitHub's internal repositories taken through a VS Code extension, tj-actions/changed-files supply-chain compromise (CVE-2025-30066), TeamPCP tag force-overwrite campaign, Actions cache poisoning (Angular, TanStack)
Compromised Action or packagePoison the build or published packageControl and dataNx "s1ngularity", Toptal repo-visibility flip and wiper, Shai-Hulud self-propagating npm worm
Compromised Action or package (not confirmed)Poison the build or published packageControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Compromised Action or packagePoison the build or published packageDataGitHub's internal repositories taken through a VS Code extension, GlassWorm: editor extensions that steal GitHub tokens and force-push, TeamPCP tag force-overwrite campaign, Actions cache poisoning (Angular, TanStack)
Compromised Action or packageRead or expose private codeControl and dataNx "s1ngularity", Toptal repo-visibility flip and wiper, Shai-Hulud self-propagating npm worm
Compromised Action or packageRead or expose private codeDataGitHub's internal repositories taken through a VS Code extension
Compromised Action or packageKeep accessControl and dataShai-Hulud self-propagating npm worm
Compromised Action or package (not confirmed)Keep accessControl and dataChainDrop: a hijacked maintainer account publishes through trusted publishing
Compromised Action or packageKeep accessDatatj-actions/changed-files supply-chain compromise (CVE-2025-30066)
Compromised developer tool or extensionDelete code or cover tracksDataGitHub's internal repositories taken through a VS Code extension, GlassWorm: editor extensions that steal GitHub tokens and force-push
Compromised developer tool or extensionSteal CI secrets and tokensDataGitHub's internal repositories taken through a VS Code extension
Compromised developer tool or extensionPoison the build or published packageDataGitHub's internal repositories taken through a VS Code extension, GlassWorm: editor extensions that steal GitHub tokens and force-push
Compromised developer tool or extensionRead or expose private codeDataGitHub's internal repositories taken through a VS Code extension
Prompt injection into an AI agentSteal CI secrets and tokensDatahackerbot-claw autonomous agent RCE, Clinejection: prompt injection in an AI issue triage workflow
Prompt injection into an AI agentPoison the build or published packageDataClinejection: prompt injection in an AI issue triage workflow
Prompt injection into an AI agentRead or expose private codeDataGitHub MCP / agentic token breadth
Vulnerability in GitHub Enterprise ServerTake over the GHES appliancePlatformCVE-2024-4985: SAML auth bypass, CVE-2025-11578: pre-receive hook symlink escape, CVE-2025-3509: pre-receive hook RCE via port reuse, CVE-2026-3854: push-option metadata RCE, CVE-2024-1374: Management Console template injection, CVE-2022-23732: Management Console path traversal / CSRF bypass

Sources

Frameworks

Annual reports

GitHub's own guidance

Incident write-ups (141)

Methodology

  • An incident is a public, sourced case of GitHub access being abused: a named campaign, a vulnerability class with real victims, or a GitHub Enterprise Server flaw. All 32 are on the incidents page.
  • Each incident is tagged with its way in and what the attacker went after (from the attack paths), the OWASP CI/CD risks and NIST SP 800-204D sections it touches, the plane it hit, and the date it was first seen. The counts on this page are computed from those tags when the site is built.
  • The framework mappings are ghtier's own reading, not OWASP's or NIST's. They are marked for review until confirmed. Trends and gaps are editorial.
  • Time windows count back from the review date (11 October 2026), not from today, so the page does not change between reviews. Where only a month is known, the first of the month is used.
  • The page is reviewed every quarter: new incidents are added, ongoing ones updated, and trends with no incident in the window retired.