SAP Hack: What We Know About the Code Copied and Altered on GitHub
SAP has confirmed a cybersecurity incident. According to Der Spiegel, stolen employee tokens were used to copy and modify code on GitHub. Here is what we know.
SAP, the German enterprise software maker, has confirmed a cybersecurity incident. According to Der Spiegel, the attackers stole access tokens from some employees and used them to modify and copy source code on GitHub. The Cybersecurity News article reporting the story is dated November 27, 2026. SAP says it took immediate steps to protect its customers and secure its services.
Source code is the text programmers write to create a piece of software. GitHub is the platform where many companies store and develop it.
What we know
The facts, one by one, with the source that reports each.
- According to Cybersecurity News, SAP confirmed the incident after detecting suspicious activity.
- Der Spiegel, cited by the same outlet, reports that the attackers stole authentication tokens belonging to SAP employees and used them to alter and copy code on GitHub.
- SAP maintains that investigators have found no evidence, at this stage, of unauthorized access to customers' business data.
- SAP did not respond to detailed questions about the incident.
- An internal memo cited by Der Spiegel describes the incident as still ongoing. The internal investigation is reportedly called "Project Granite."
- Der Spiegel, citing sources inside the company, writes that the attackers may have used AI agents. SAP has not confirmed this, and the article does not explain what role artificial intelligence may have played, if any.
A token is a digital credential that grants access to an account or a service. On GitHub, the permissions tied to a token determine whether its holder can only read a project, meaning its code and change history, or also modify it.
How it may have happened
The sources say the method used to obtain the SAP employees' tokens has not been disclosed. They also say SAP publishes the code of some products and open source projects (that is, code open to everyone) on GitHub. The report does not say which repositories, meaning which code archives, are involved, or whether the copied code was public or private.
Editorial hypothesis, not confirmed: the tokens may have been stolen with malware (a malicious program) installed on an employee's computer, or through a phishing message that tricked someone into revealing their credentials. These are only guesses about the method: the sources say nothing of the kind.
Why it matters for your business
If your business uses SAP software, the useful question is not "was my data stolen?" On that point, SAP says for now that it has no evidence. The real question is different: did the modified code ever reach the updates or components you use? The sources specify that SAP's statement concerns customer data and does not clarify whether the code changes reached software used by customers.
The second lesson applies to everyone, even those who don't use SAP. If a token is stolen, whoever holds it can do whatever its permissions allow, whether that's reading or even modifying code. That's why it pays to know which tokens exist in your business and what permissions they have.
There is nothing to base conclusions on regarding the possible use of AI agents, which Der Spiegel reports and SAP has not confirmed. For the bigger picture, the blog has an in-depth piece on AI-powered hacker attacks and how to defend against them.
How to protect yourself
These are general, cautious recommendations, not requirements arising from this case.
- Ask your SAP contact or partner which official communications about the incident they have received and whether there is any guidance for customers.
- Apply vendors' security updates after verifying them, and keep a log of what you install and when.
- If your business uses GitHub or similar platforms, list all active tokens, delete those no longer needed, and limit permissions to the minimum, for example read-only where that's enough.
- Turn on multi-factor authentication, meaning a second verification step beyond the password, and rotate credentials regularly.
- Check access logs for unusual activity, such as changes made outside working hours or from unexpected locations.
- Prepare a written plan for what to do if a vendor reports an incident: who decides, who notifies customers, who contacts the vendor.
What we still don't know
The information published so far leaves many questions open.
- How the employees' tokens were stolen.
- Which repositories were affected and whether the copied code was public or private.
- What changes were made to the code and whether they reached customers' products.
- Whether AI agents were really used and in what capacity.
- How long the investigation will last, given that the memo cited describes it as active.
- Which SAP products and which customers, in Italy or elsewhere, may be affected: this has not been stated in the information published so far.
An update from SAP or new press reports could change the picture. Until then, it's best to separate what SAP has confirmed from what Der Spiegel reports.
Our take
Our take: for now, the confirmed facts are few: an incident, no evidence of access to customer data, an investigation under way. The rest comes from Der Spiegel and should be treated as journalistic reconstruction, not as the final word. In our view there is no reason to shut down your systems, but there is reason to make two calls: one to your SAP partner, to find out what they have received, and one to whoever runs your in-house development, to check your tokens. The case is a reminder that security also depends on the credentials of your vendors and employees, not just your own. It's worth following especially if you use SAP or develop software in-house; for everyone else, keeping credentials under control is enough. On the blog you'll also find another data breach case: the Maileva case.
FAQ
Has SAP been hacked?
SAP has confirmed a cybersecurity incident after detecting suspicious activity. According to Der Spiegel, the attackers stole employee tokens and used them to alter and copy code on GitHub.
Was SAP customer data stolen?
SAP says that, at this stage, investigators have found no evidence of unauthorized access to customers' business data. The company did not respond to detailed questions, and the investigation appears to be still active.
What is a GitHub token and why does it matter?
A token is a digital credential that grants access to an account or a service. On GitHub, its permissions determine whether the holder can only read a project's code or also modify it.
Did the SAP hackers use artificial intelligence?
Der Spiegel, citing internal sources, writes that the attackers may have used AI agents. SAP has not confirmed this, and the article does not explain what role AI may have played, if any.
Sources
Article prepared with artificial intelligence by the AIDEA STUDIO newsroom, checked against the sources listed and translated from Italian. Updated on 27 November 2026. · How our newsroom works
Want to know what this means for your business?
Tell us how you work: we'll tell you whether and how it's worth using, no strings attached.
Let's talk