TDM
December 1, 2026

Can you use production data in test environments? What EU regulators found in 2026

Product Marketing
Can you use production data in test environments? What EU regulators found in 2026

TL;DR

  • GDPR has no exemption for test environments. Personal data copied from production into a test system needs a legal basis and the same safeguards as production.
  • In two decisions published by the EDPB in October 2026, Estonia's Data Protection Inspectorate admonished a large employer for unmasked production data, including health examination records, in the test environments of five applications, and reprimanded a processor whose staging server held real data on 381,729 people and was attacked.
  • Spain's data protection authority advises avoiding personal data in development and pre-production where possible and using artificially created test data instead. For EU banks and insurers, DORA's technical standards say non-production environments should only store anonymised, pseudonymised or randomised production data, with narrow, approved exceptions.
  • The practical fix is to mask data as it is provisioned, copy only what tests need and generate what production doesn't contain. Synthesized does this across SAP and the systems around it, inside your own environment.

‍

Can you use production data in a test environment under GDPR?

Only if you can justify it and protect it as you would in production. GDPR applies to personal data wherever it sits, so a copy in a test system is still processing: it needs a legal basis, it must be limited to what is necessary and it must be secured. Data protection by design and by default (Article 25) and security of processing (Article 32) apply to non-production systems too.

That has been the legal position for years. What changed in 2026 is that regulators published decisions showing what happens when production copies sit in test systems unnoticed.

‍

What did Estonia's regulator find in the first case?

A large employer operating in Estonia, Latvia, Lithuania and Poland had copied production data into the test environments of five applications. The data had not been anonymised or pseudonymised. In Estonia alone it covered about 27,500 current and former employees, 17,800 of their children and 8,800 contact persons such as spouses and parents.

The employee records included personal ID codes, bank account numbers, salary data and health examination results, such as conclusions on fitness for work. The test environments had probably held these copies for a long time.

No security tool found it. It came to light during an identity and access management audit. The company notified the regulator, suspended the test environments, deleted or anonymised the data and adopted a new internal rule for test data.

The Estonian Data Protection Inspectorate found breaches of the principles of lawfulness, data minimisation, storage limitation, and integrity and confidentiality (Article 5); no legal basis for the processing, including for the health data (Articles 6 and 9); and failures of responsibility, data protection by default and security (Articles 24, 25 and 32). It issued an admonition rather than a fine, taking into account the company's prompt notification and full cooperation.

‍

What happened in the second case?

A processor's staging server, used for testing and development, held an older partial database of real customer data: names, contact details, home addresses, IP addresses, partial card numbers and transaction information. Routine monitoring detected suspicious activity on the server in 2025. The decision puts the number of people affected at 381,729.

The regulator noted that using actual personal data on the trial server was not allowed, found that the processing did not meet the security requirement of Article 5(1)(f) and issued a reprimand. The processor stopped using real data on the test server.

Two cases, one pattern: production data was copied into a weaker environment because it was convenient, and it stayed there.

‍

What do regulators expect you to use instead?

Artificially created or properly anonymised data wherever it will do the job. Spain's data protection authority (AEPD) says the use of personal data in development and pre-production environments should be avoided where possible, notes that synthetic data avoids processing personal data in many testing cases, and cites the European Data Protection Supervisor's recommendation that artificially created test data should be used where possible. Where real data is strictly necessary, the AEPD expects a documented necessity and proportionality analysis and security measures that match the risk.

For banks, insurers and other EU financial entities, DORA's regulatory technical standards on ICT risk management are more specific. The procedure for developing and testing ICT systems must provide that non-production environments only store anonymised, pseudonymised or randomised production data, and that the integrity and confidentiality of that data are protected. Production data may be stored only for specific testing occasions, for limited periods, after approval by the relevant function and with reporting to the ICT risk management function.

SourceWhat it says about test dataWhat to have ready
GDPR (Articles 5, 25 and 32)Personal data in a test system is still processing: minimise it and secure itA legal basis for any personal data in test, or evidence that the data is anonymised
Estonian decisions (published by the EDPB, October 2026)Unmasked production copies in test environments and real data on a staging server breached GDPRA current inventory of what each non-production system holds
AEPD guidanceAvoid personal data in development and pre-production where possible; prefer artificially created dataA necessity and proportionality analysis for any real data you keep
DORA RTS, Delegated Regulation (EU) 2024/1774, Article 16Non-production environments only store anonymised, pseudonymised or randomised production data; exceptions are approved, time-limited and reportedApprovals, expiry dates and reports for every exception

‍

How do you get realistic test data without copying production?

Change where protection happens and how much you copy. Synthesized gives testing teams production-like data without full copies: it subsets, time-slices, masks and generates synthetic data, and provisions it on demand across SAP and the systems around it, keeping business processes such as Order-to-Cash intact. It runs inside your environment on Kubernetes or Docker, including air-gapped setups.

  1. Find what's already there. List every non-production environment that holds production data, who approved it and when it expires. Both Estonian cases involved copies that nobody was actively tracking.
  2. Mask as data is provisioned, not after the copy lands. If masking runs after a refresh, unprotected data has already reached a weaker environment. Our guide to GDPR-safe SAP testing covers this for SAP landscapes.
  3. Copy only what the tests need. Subset by business process, company code or time window rather than copying whole clients or databases.
  4. Mask consistently across systems. The same customer should get the same masked identity in every system a process touches, so end-to-end tests still work.
  5. Generate what production doesn't have. Use synthetic data for edge cases, new products and negative tests, instead of hunting for real records that happen to fit.
  6. Keep the evidence. Record which data set each test used, where it came from and how it was protected.

‍

What does this look like in practice?

A large financial services company told us its central masking job replaced parts of card numbers with placeholder values before data reached its test environments. The data was compliant, but no longer realistic enough to test with, so teams moved critical sign-off tests to an environment closer to production. Masking that destroys realism pushes people back towards real data. The answer is masking that keeps formats, distributions and relationships intact, so the protected data is good enough to test against.

‍

Frequently asked questions

Is masked production data still personal data?

It depends on how it is masked. Pseudonymised data, which can be linked back to people with additional information, is still personal data under GDPR. Properly anonymised data is not. DORA's standards accept anonymised, pseudonymised or randomised production data in non-production environments, but GDPR still applies to the pseudonymised kind.

Can a test environment hold production data for a short time?

GDPR doesn't forbid it, but you still need a legal basis, minimisation and security. For EU financial entities, DORA's standards allow production data in non-production environments only for specific testing occasions, for limited periods, with approval and reporting.

Were the companies in these cases fined?

No. The employer received an admonition and the processor a reprimand, both under Article 58(2)(b) GDPR. Both decisions note the companies' cooperation.

Is synthetic data enough for all testing?

Not always. Some tests need the shape of real production data, which is where masked subsets help. Many teams combine masked production subsets with synthetic data for the cases production doesn't contain.

‍

Find out what's in your test environments, and replace full copies with masked, scenario-ready data. Book a demo.

‍

Sources

Learn more about TDM

Test data management for banks: what do DORA, GDPR and the EU AI Act require?

Can you use production data in test environments? What EU regulators found in 2026

One Control Plane for Enterprise Test Data: Why Fragmented TDM Can’t Keep Up

Subscribe to our newsletter
Stay up-to-date with the world of test data