Case study

Denmark: how one supplier password exposed 8.8 million CPR records

Ten days of automated searches against Denmark's national person register, through a supplier account. Found because of an invoice.

Editorial photo for the article

Denmark's CPR register holds the civil registration number of everyone who lives or has lived in the country. Banks, employers, insurers and public bodies use it every day, often through approved suppliers who resell access. In September 2026, one of those supplier connections was used to run millions of searches against it.

This case study sets out what has been reported, then gives our analysis of the likely attack path and what testing would have caught. Facts come from published reporting and are linked. Where we reason beyond the reporting, we label it as analysis.

What happened

According to The Register's reporting, attackers gained access through the supplier Pays ApS on 10 September 2026. Between 10 and 20 September they ran about 14 million automated searches against the CPR register. The activity was detected on 2 October, when an invoice showed unusual usage, and the breach was disclosed on 5 October. About 8.8 million people were affected.

A claimant quoted by the Danish newspaper Politiken said the password on the account was "123456", and that at least three accounts, including an administrator account, shared it.

Source: The Register, 13 October 2026

No cost figure has been published.

Timeline

  1. 10 September 2026

    Access through the supplier's account begins.

  2. 10 to 20 September

    About 14 million automated searches.

  3. 2 October

    Unusual activity noticed on an invoice.

  4. 5 October

    Breach disclosed publicly.

From first access to detection took about three weeks. Detection came from billing, not from a security control.

The likely attack path

Our analysis, based on the reported facts. We have not seen the systems involved.

1. A guessable password on a privileged supplier account

If the reporting is accurate, no exploit was needed to get in. "123456" is among the first passwords any automated tool tries. An account shared across several users, including an administrator, also suggests there was no individual accountability and probably no MFA.

2. An API with no meaningful volume limit

Fourteen million searches in ten days is roughly 16 per second, around the clock. A supplier serving normal business customers does not usually need that rate. The fact that the searches completed suggests there was no effective per-account rate limit or alert on volume.

3. No anomaly detection on usage

The activity was found through an invoice. That implies nobody, at the supplier or upstream, was alerted when one account's search volume jumped far above its normal pattern.

4. Automation did the rest

Running 14 million lookups and storing the results is a simple scripting job. With current AI tools it takes minutes to write. The hard part of this attack was getting a working login, and that part was reportedly trivial.

What testing would have caught

Our analysis. A web application and API penetration test of the supplier's platform would be expected to flag several of these issues in its first days:

  • Weak password policy and missing MFA (OWASP API2). Testers routinely check whether the login accepts common passwords, whether MFA is enforced for privileged roles, and whether login attempts are rate-limited.
  • Shared accounts. A test that asks for one account per role, and finds that roles are shared logins, records it as a finding.
  • Unrestricted resource consumption (OWASP API4). Testers send bulk requests to search endpoints to check for rate limits and quotas. An endpoint that returns personal data on demand without a ceiling is a high-severity finding on its own.
  • Missing alerting. A test generates unusual traffic. If nobody notices during the test window, that is itself evidence for the report.

What a pentest would not fix on its own is the supplier relationship. Under NIS2 Article 21(2)(d), entities must manage the security of their supply chain. The organisation that gives a supplier bulk access to national identity data needs evidence that the supplier's controls work. A recent pentest report from each supplier with privileged access, and a contractual right to see it, is a reasonable minimum.

Source: NIS2 Article 21

Lessons for smaller companies

Most readers do not run a national register. But many run something with the same shape: an API that returns personal data, used by customers or partners through accounts that someone else manages.

  1. Enforce MFA on every account that can read bulk personal data, including partner and supplier accounts. Do not leave it to the customer's choice.
  2. Ban shared logins. One person, one account, so activity can be traced.
  3. Set per-account rate limits and quotas based on what normal customers actually use, and alert when an account exceeds them.
  4. Watch usage, not just errors. A successful request at a hundred times the usual rate is the signal.
  5. Ask your suppliers for test evidence, and give it to your customers. This is now what enterprise and public-sector buyers expect.

The uncomfortable part of this case is how ordinary it is. There was reportedly no clever exploit, only a weak password, no volume limit and nobody watching. Those are exactly the gaps an automated attacker finds first, and exactly the ones a basic test finds before them.

Frequently asked questions

What is the CPR register?

Denmark's central person register. It holds the civil registration number of residents and is used by public bodies and approved private organisations, often through suppliers.

How was the CPR breach found?

According to The Register, unusual activity was noticed on an invoice on 2 October 2026, about three weeks after access began.

Could a pentest have prevented it?

A test of the supplier's platform would be expected to flag a guessable password, missing MFA, shared accounts and the lack of volume limits. Whether those findings were fixed would still depend on the supplier.

See what an attacker would find in your app

Our AI agents attack your web app or API with your permission, prove each finding with a working exploit, and senior pentesters review and sign the report.

15-minute call

Talk to our team

A 15-minute call about your app, your deadline and what your auditor, insurer or customer needs to see.