Skip to content

The SAP GitHub Incident (2026): Why All Stolen Tokens Should Be Worthless

The SAP GitHub Incident (2026): Why All Stolen Tokens Should Be Worthless. A glowing shield and padlock with a broken access token marked with a red cross

A stolen credential is only as dangerous as its lifetime and its reach. That is the core operational lesson of the November 2026 SAP GitHub incident, and it applies to every engineering organization building software on GitHub.

What happened in the November 2026 SAP GitHub incident?

On November 27, 2026, SecurityWeek reported that SAP is investigating a cybersecurity incident targeting its development infrastructure. SAP stated it detected suspicious activity, took steps to protect customers, and found no evidence of unauthorized access to customer business data.

Additional technical details surfaced through German media reports:

  • Stolen authentication tokens: An insider cited by Der Spiegel stated that attackers obtained SAP employees’ authentication tokens and used them to copy and alter source code on GitHub.
  • Operational disruption: Handelsblatt reported that SAP replaced signing keys, restricted GitHub access, and suspended automated development operations across multiple teams.
  • Potential AI automation: Sources suggested the attack was AI-assisted, though SAP has not confirmed this detail.

No reports indicate that tampered code reached SAP customers, and it remains unclear whether proprietary code was exfiltrated. Because the investigation is ongoing, the full technical scope may evolve.

Why are standing GitHub tokens a supply-chain risk?

A developer token is a bearer credential. Whoever holds the string authenticates as that developer to GitHub.

Most engineering organizations still issue Personal Access Tokens (PATs) with long lifetimes and broad repository scopes. These credentials persist on developer laptops, inside CI/CD environment variables, in local configuration files, and inside the context windows of AI coding assistants. Every stored copy represents standing access.

Automated tooling compresses the exploitation window. Once an attacker harvests a valid token, scripts can enumerate accessible repositories and modify code within minutes. Credential rotation policies measured in months leave organizations exposed to attacks executed in minutes.

Why incident containment halts engineering velocity

Look closely at the reported containment measures at SAP: replacing signing keys, restricting GitHub access, and suspending CI/CD automation. Each action reflects common architectural patterns in many of today’s software delivery pipelines:

  • Signing keys require rotation after suspected exposure. When a cryptographic key exists as a file on disk or a static pipeline secret, security teams cannot verify whether an attacker copied it. Re-issuing keys across build systems becomes mandatory.
  • Broad access locks replace targeted revocation. Standing tokens often lack granular attribution. When teams cannot isolate which specific credentials were compromised, they must lock down repository access globally.
  • Automated builds pause until secrets are re-issued. Because CI/CD pipelines rely on their own stored credentials, every automated build remains suspect until those pipeline secrets are rotated.

The operational outcome is stalled software delivery across engineering teams, triggered by compromised authentication tokens.

Five security questions to assess and audit your GitHub environment

  1. How many GitHub tokens in your organization remain valid longer than one hour, and which repositories can they access?
  2. Do your CI/CD pipelines authenticate with stored secrets or verifiable OIDC workload identities?
  3. If an external party copied your source code repositories today, which embedded credentials would they find?
  4. Could any user or administrator export your production code-signing private keys?
  5. Can your security team revoke a single compromised developer identity without halting builds across other teams?

Addressing any gap in these five areas directly reduces the blast radius of token theft in your development lifecycle.

Protecting the entire development workflow with Akeyless

Securing software delivery requires eliminating static secrets across every stage of the lifecycle, from the moment a developer or AI agent writes code to the moment a build artifact is signed and deployed. Rather than patching individual tools with separate credential stores, the Akeyless Identity Security Platform governs identities, secrets, and cryptographic keys across the entire workflow from one control plane.

Diagram comparing a typical code-to-signing pipeline with the same five stages secured by Akeyless: standing access versus 60-minute dynamic tokens, secrets in code versus zero hardcoded secrets, stored credentials versus runtime injection, exportable key file versus Akeyless DFC signing key, and global lockdown versus single-role revocation

When manual or scripted key rotation is required, traditional environments often spend weeks or months inventorying dependencies, updating pipeline variables, and coordinating restarts across engineering teams to avoid breaking production builds. Akeyless automates credential and key rotation across multi-cloud and on-premises environments, while replacing static secrets altogether wherever ephemeral access is possible.

Attack stageTypical exposureOutcome with Akeyless
Token theftLong-lived PATs with broad repository scopeDynamic Secrets issue just-in-time GitHub tokens that expire after 60 minutes.
Pipeline accessStatic credentials stored in CI variablesSecretless-authentication lets workflows prove identity via GitHub OIDC tokens scoped by sub-claims.
Secrets in codeSource code theft exposes embedded credentialsApplications fetch secrets at runtime, leaving repositories free of static credentials.
Signing key exposureKeys require weeks of manual rotation after suspected accessAkeyless DFC™ signing keys never exist whole in memory, cannot be exported, and support automated rotation.
ContainmentBroad lockdowns that halt CI/CDCentral revocation isolates a single identity, role, or target with full audit logging.

How to replace static GitHub tokens with ephemeral credentials

Akeyless GitHub Dynamic Secrets generate GitHub App installation access tokens on demand through the customer-hosted Akeyless Gateway. Each token is provisioned for a single task and expires automatically after 60 minutes.

akeyless dynamic-secret create github \
  --name /devops/prod/github-ci-token \
  --target-name /devops/prod/github-app-target \
  --gateway-url 'https://<Your-Akeyless-GW-URL>:8000' \
  --installation-id <Your GitHub Installation ID>
  • --name: Defines the path of the dynamic secret using a /project/environment/secret-name hierarchy.
  • --target-name: References the GitHub Target storing the GitHub App configuration.
  • --gateway-url: Points to the customer-side Gateway responsible for minting the tokens.
  • --installation-id: Specifies the GitHub App installation scope for the issued tokens.

If an attacker extracts a token from a build log or local environment, that credential loses validity within minutes.

How to authenticate GitHub Actions without stored secrets

With the Akeyless GitHub Actions plugin, a CI/CD workflow authenticates using the short-lived JSON Web Token (JWT) that GitHub issues for that specific job run. OpenID Connect (OIDC) sub-claims bind access strictly to a designated repository, branch, or workflow, removing static access keys from CI settings.

How to protect code-signing keys from extraction

Akeyless DFC™ (Distributed Fragments Cryptography) generates cryptographic keys as separate mathematical fragments across independent trust domains. Signing operations compute directly across those fragments without ever assembling the complete key in memory. When you retain a Customer Fragment on your own Gateway, Akeyless cannot access or use your keys, enforcing true Zero-Knowledge security by design.

Your engineering teams can continue using native signing utilities including jarsigner, Notation, and signtool, while the private key remains inside the platform. An attacker who compromises a developer identity cannot export the signing key, and every signature is logged with identity attribution. Your incident response protocol shifts from re-keying the entire build pipeline to revoking one access role and auditing the signature log.

How to govern AI coding agents with least privilege

AI coding agents increasingly operate with the same repository permissions as human developers. Akeyless SecretlessAI® removes raw credentials from agent prompts and contexts, while Agentic Runtime Authority provides short-lived identities that terminate automatically upon task completion.

Neutralize stolen credentials before the next incident

Development infrastructure is a high-value target, and standing credentials remain the primary mechanism attackers use to move laterally through source code and build pipelines.

The Akeyless Identity Security Platform replaces static secrets with just-in-time access for human developers, CI/CD workloads, and AI agents, backed by Akeyless DFC™ and delivered as SaaS, or hybrid, depending on your needs. Request a demo to learn how easily your engineering teams can run automated pipelines without a single long-lived secret.

Sources

Frequently asked questions

What happened in the November 2026 SAP GitHub incident?

On November 27, 2026, SAP confirmed an investigation into unauthorized activity targeting its development infrastructure. German media reports indicated attackers used stolen employee authentication tokens to access and alter GitHub source code, prompting SAP to replace signing keys, restrict GitHub access, and pause automated builds. SAP stated it found no evidence of unauthorized access to customer business data.

Why are standing GitHub tokens a security risk for engineering teams?

A standing Personal Access Token acts as a bearer credential that grants continuous access until it expires or is manually revoked. Because these tokens frequently sit in local config files, CI/CD variables, and AI coding assistant contexts, an attacker who extracts one can enumerate repositories and modify code within minutes.

How long does traditional signing key and credential rotation take after a breach?

In environments where cryptographic keys and secrets are hardcoded or distributed across multiple build pipelines, full rotation typically takes weeks or months. Security and DevOps teams must locate every stored copy, generate replacements, update downstream dependencies, and validate builds without disrupting production releases.

How can organizations make stolen GitHub credentials worthless?

Engineering teams can neutralize stolen credentials by replacing long-lived tokens with short-lived, task-scoped tokens that expire within an hour, authenticating CI/CD pipelines through OIDC workload identities instead of stored secrets, and keeping signing keys inside non-exportable cryptographic platforms.

Related Resources

View all
Illustration of a robot, a shield and a map of the United Kingdom
Blog UK Cyber Resilience Bill: Keeping AI Agents Under Control

The UK's Cyber Security and Resilience Bill proposes expanded cybersecurity obligations across critical infrastructure, digital service providers, and their supply chains. Recent parliamentary developments…

November 26, 2026
  • G2 Fall 2026 Leader — Non-Human Identity Management
  • G2 Fall 2026 Momentum Leader — Privileged Access Management
  • G2 Fall 2026 High Performer — Certificate Lifecycle Management
  • G2 Fall 2026 Easiest To Do Business With — Secrets Management
  • G2 Fall 2026 Easiest To Use — Privileged Access Management, Enterprise
  • G2 Fall 2026 Best Support — Privileged Access Management, Enterprise