AI threat catalogue Legal, Compliance and Vendor Management Development
Unlawful Processing of Personal Data in Training
Personal data, including special categories, enters training or fine-tuning data without a legal basis or is wrongly treated as anonymous. If the model then contains such data itself, this can also affect the lawfulness of its further use.
Description
Training and fine-tuning require large amounts of data: collected by web scraping (automated extraction of web content), from purchased datasets, customer documents or chat logs of the organisation's own application. These almost always contain personal data, often including special categories such as health data. Typical mistakes are a missing or untenable legal basis, ignored scraping opt-outs and objections, use for a new purpose and more data than necessary. If a dataset or the finished model is considered anonymous although individuals can be extracted again, safeguards are wrongly dropped. Copyright questions are a separate threat.
Possible impact
Supervisory authorities can prohibit the processing, order the erasure of the data and, in individual cases, of the model trained on it, and impose fines; the use of such a model by third parties may also become unlawful. Data subjects can demand access, erasure and compensation. Costly trained models become worthless, projects are delayed, and the trust of customers and employees suffers.
Example
An insurer trains a language model for claims handling on ten years of customer correspondence from which names and addresses were removed beforehand, and classifies the data as anonymous. However, the texts contain diagnoses, accident locations and details through which customers can be recognised, and the model reproduces such passages almost verbatim in response to suitable questions.
- Main lifecycle phase
- Development and training
- Arises in
- Planning and design, Supply chain and procurement, Development and training
- Takes effect in
- Development and training, Operation and monitoring, Retirement
Recommended mitigations (8)
Compare effects and implementation levels. Expand each entry for the additional classification and rationale.
-
Review and documentation of the legal basis for each data source before collection, with a documented balancing test where legitimate interest is relied on
Governance & compliance- Effect
- Preventive
- Implementation level
- Data, Organization
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- Before collection, the legal basis for processing is recorded for each training data source; where legitimate interest is relied on, the balancing against data subjects' interests is justified in writing.
- Effect on the threat
- Data sources without a sound legal basis are identified before their personal data enters the model, where it is hard to remove.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Record all planned data sources and determine the legal basis for each.
- Prepare a documented balancing test where legitimate interest is relied on.
- Admit sources for collection only after approval by data protection or legal.
- Useful evidence examples
- Source register with legal basis, balancing test documents, approval notes or entry in the record of processing activities.
-
Respect for technical scraping opt-outs and objections received, and exclusion of sources with particularly sensitive content
Technical- Effect
- Preventive
- Implementation level
- Data
Classification and rationale
Complementary control typeGovernance & compliance
Primarily technical: System-enforced inspection, transformation, or blocking rules stop or neutralize disallowed content before further processing; complemented by rules and oversight.
Meaning, implementation and evidence
- What it means
- Data collection technically honours machine-readable scraping opt-outs and objections received, and sources with particularly sensitive content such as health or religious forums are excluded.
- Effect on the threat
- Data from people who have objected and specially protected categories therefore never enter the training data without a legal basis.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Configure crawlers to honour machine-readable opt-out signals.
- Add objections received to a block list that is checked before every collection run.
- Define categories of sensitive sources and exclude them from collection via filters.
- Useful evidence examples
- Crawler configuration, block list of objections, exclusion list of sensitive sources or sample check of the dataset.
-
Data minimisation: remove or pseudonymise personal data before training wherever it is not needed for the purpose
Technical- Effect
- Preventive
- Implementation level
- Data
Classification and rationale
Primarily technical: System-enforced inspection, transformation, or blocking rules stop or neutralize disallowed content before further processing.
Meaning, implementation and evidence
- What it means
- Before training, personal details that the model's purpose does not require are detected automatically and removed or replaced with pseudonyms.
- Effect on the threat
- The less personal data remains in the training set, the less the model can memorise and the smaller the scope of potentially unlawful processing.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Determine which personal attributes the purpose actually requires.
- Run personal data detection over the training set and remove or pseudonymise hits.
- Check the effectiveness of the clean-up by sampling.
- Useful evidence examples
- Purpose and attribute definition, clean-up configuration, sampling report or metrics on removed data.
-
Data protection impact assessment for training and fine-tuning, involving the data protection officer
Governance & compliance- Effect
- Preventive
- Implementation level
- Organization, Data
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- A data protection impact assessment is carried out for training and fine-tuning with personal data, assessing risks to data subjects and setting mitigations, with the data protection officer involved.
- Effect on the threat
- Legal and practical risks of training are identified systematically before training, instead of surfacing once the data is already inside the model.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Describe the processing, data categories and purposes of training and fine-tuning.
- Assess risks to data subjects and define mitigations.
- Obtain the data protection officer's opinion and update the assessment after significant changes.
- Useful evidence examples
- Data protection impact assessment, data protection officer opinion, mitigation list or update note.
-
Data lineage for all training data, so that sources can later be identified and excluded
Technical- Effect
- Detective, Impact-limiting
- Implementation level
- Data, Model & training
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Cryptographic or machine-verifiable properties protect confidentiality, integrity, or provenance; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- For every training dataset, its source, how it was processed and which model versions it went into are recorded without gaps.
- Effect on the threat
- If a source later turns out to be unlawful, its data can be found and excluded specifically and the affected models identified, instead of discarding the whole dataset.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Attach source, collection date and legal basis as metadata to every dataset.
- Log processing steps and the mapping to model versions automatically.
- Run a trial trace of one source and exclude it completely.
- Useful evidence examples
- Lineage metadata, processing logs, dataset to model version mapping or trace exercise report.
-
Anonymity assessment of datasets and models, including re-identification tests, repeated regularly
Technical- Effect
- Detective
- Implementation level
- Data, Model & training
Classification and rationale
Complementary control typeGovernance & compliance
Primarily technical: Software or analytical tools systematically produce and evaluate measurements, deviations, or attack indicators; complemented by rules and oversight.
Meaning, implementation and evidence
- What it means
- Datasets and models classified as anonymous are tested with re-identification and linkage tests to see whether people can still be identified, and the check is repeated at fixed intervals.
- Effect on the threat
- Data wrongly treated as anonymous is recognised as personal before it is processed further or used in models without a legal basis.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Define criteria and test methods for anonymity, such as linkage with auxiliary knowledge and membership inference attacks.
- Test datasets and models before use and regularly afterwards.
- Document the result and change the classification if re-identification is possible.
- Useful evidence examples
- Test concept, re-identification test report, classification note or repetition schedule.
-
Testing the model for verbatim reproduction of personal data before release
Technical- Effect
- Detective, Preventive
- Implementation level
- Model & training
Classification and rationale
Primarily technical: Software or analytical tools systematically produce and evaluate measurements, deviations, or attack indicators.
Meaning, implementation and evidence
- What it means
- Before release, the model is tested with targeted queries to see whether it reproduces personal data from training verbatim or nearly verbatim.
- Effect on the threat
- A model that has memorised training data about individuals is identified before deployment, before it outputs that data to users.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Build test queries using known data fragments and prefixes from the training set.
- Check outputs automatically for personal data and matches.
- Make release dependent on defined maximum rates of verbatim reproduction.
- Useful evidence examples
- Extraction test set, analysis report, defined limits or release note.
-
Response plan for objections: remove affected data, retrain or add output filters, inform data subjects
Organizational & process-based- Effect
- Corrective, Impact-limiting
- Implementation level
- Organization, Data, Model & training
Classification and rationale
Complementary control typeGovernance & compliance, Technical
Primarily organizational and process-based: A defined reporting, triage, and handling workflow turns observations into traceable follow-up actions; complemented by rules and oversight as well as technical implementation.
Meaning, implementation and evidence
- What it means
- A prepared procedure sets out how to respond to complaints from data subjects or authorities: remove affected data, retrain the model or filter outputs, and inform data subjects.
- Effect on the threat
- When unlawful processing in training is established, its effect on data subjects can be contained and remedied quickly instead of improvising.
- When it helps
- Useful where models are trained or fine-tuned on collected, purchased or own data that may contain personal data.
- Suggested implementation
- Define responsibilities, deadlines and decision criteria for removal, retraining or output filters.
- Locate affected data via lineage records and remove it from the dataset.
- Implement the remedy, test its effectiveness and inform data subjects and, where required, authorities.
- Useful evidence examples
- Response plan, case record, evidence of data removal or filter, or notification letters.
Framework mappings
Verified locations in OWASP, NIST AI RMF, MITRE ATLAS, the EU AI Act and further frameworks. The mappings are taxonomic, not evidence of compliance.
Verified references (18)
Every reference states the framework, the exact location and the publishing organisation.
- NIST AI RMF Section 2.4 Data PrivacySection 2.4, pp. 7–8National Institute of Standards and Technology (NIST)Original
- MITRE ATLAS AML.T0137.003 Extract Memorized DataATLAS-2026.10.yaml technique object with id AML.T0137.003 (content release 2026.10, format-version 6.1.0); sub-technique of AML.T0137 Training Data Information from AI ModelsMITREOriginal
- EU AI Act Article 53(1)(d) Obligations for providers of general-purpose AI modelsArticle 53(1)(d)European Union (EUR-Lex)Original
- GDPR Article 35(1) Data protection impact assessmentArticle 35(1) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 5(1)(a) Principles relating to processing of personal dataArticle 5(1)(a) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 6(1) Lawfulness of processingArticle 6(1) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 9(1) Processing of special categories of personal dataArticle 9(1) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR EDPB Opinion 28/2024, Section 3.2 EDPB Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI modelsSection 3.2, especially paragraph 43 and paragraphs 44–58, pp. 14–18 (anonymity; extraction/model attacks)European Data Protection Board (EDPB)Original
- GDPR EDPB Opinion 28/2024, Sections 3.3–3.4.2 EDPB Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI modelsSections 3.3–3.4 and Section 3.4.2, especially paragraphs 124–132, pp. 32–33 (unlawful development and downstream use)European Data Protection Board (EDPB)Original
- GDPR Risk 11 Breach of the data minimization principleSection 4, table Examples of Privacy Risks in LLM Systems, risk 11, p. 55European Data Protection Board (EDPB), Support Pool of Experts (author: Isabel Barberá)Original
- GDPR Risk 2 Misclassifying training data as anonymous by controllers when it contains identifiable informationSection 4, table Examples of Privacy Risks in LLM Systems, risk 2, p. 53European Data Protection Board (EDPB), Support Pool of Experts (author: Isabel Barberá)Original
- GDPR Risk 3 Unlawful processing of personal data in training setsSection 4, table Examples of Privacy Risks in LLM Systems, risk 3, p. 53European Data Protection Board (EDPB), Support Pool of Experts (author: Isabel Barberá)Original
- GDPR Risk 4 Unlawful processing of special categories of personal data and data relating to criminal convictions and offences in training dataSection 4, table Examples of Privacy Risks in LLM Systems, risk 4, p. 53European Data Protection Board (EDPB), Support Pool of Experts (author: Isabel Barberá)Original
- BIML BIML-LLM LLMtop10:2 Data DebtPDF p. 12, [LLMtop10:2:data debt]Berryville Institute of Machine Learning (BIML)Original
- CoSAI Excessive Data Handling Excessive Data HandlingRisk Map, risk entryCoalition for Secure AI (CoSAI, OASIS Open Project)Original
- CoSAI Unauthorized Training Data Unauthorized Training DataRisk Map, risk entryCoalition for Secure AI (CoSAI, OASIS Open Project)Original
- OWASP AI Exchange Privacy 1 Use Limitation and Purpose Specification6_privacy.md, section 1. Use Limitation and Purpose SpecificationOWASP Foundation (OWASP AI Exchange)Original
- MIT AI Risk Repository 2.1 Compromise of privacy by obtaining, leaking or correctly inferring sensitive informationDomain Taxonomy, subdomain 2.1MIT FutureTech (MIT AI Risk Initiative)Original
Related threats (6)
How the catalogue relates this threat to others, with the reason.
-
Enables
Disclosure of Confidential Information in Answers and Shared Conversations
Unlawfully trained personal data can later appear in outputs.
-
Enables
Unfulfillable Data Subject Rights and Missing Human Intervention
Personal data stored in the model can hardly be erased or rectified.
-
Enabled by
Poisoned, Flawed or Legally Tainted Datasets from External Sources
Scraped datasets contain personal data without legal basis.
-
See also
Copyright and IP Infringement through Training Data and Model Outputs
Personal data and protected works raise the same question of legal basis when scraping.
-
See also
Inference about Training Data and Re-identification of Individuals
What enters the model unlawfully becomes extractable again through privacy attacks.
-
See also
Omitted or Inadequate Impact Assessment for Affected Persons
The data protection impact assessment also examines the lawfulness of processing in training.
EU AI Act obligations related to this threat
The obligations from the obligations compass whose articles the catalogue maps to this threat. Each leads to its entry with core, action step and evidence; whether it applies to you depends on role and risk class.
-
Respect copyright and summarise the training content
Art. 53(1)(c) and (d), applies from 2 August 2025
Statutory roles: Provider of a general-purpose AI model. Classes: General-purpose AI model, Model with systemic risk.
For models released under a free and open-source licence with publicly available parameters, the obligations under points (a) and (b) do not apply, but the copyright policy and the summary do. Models with systemic risk are excluded from this relief.
This reference is a review prompt. A threat match alone does not establish applicability.
All 62 obligations by role, risk class and deadline in the obligations compass
Terms on this page
Glossary terms that occur in this entry. Every link leads to the full explanation.
- Fine-tuning An existing model is trained further on your own data.
Matching use cases
This list shows where to review this threat, rather than how high the risk is.
Typical for:
- E-discovery and technology-assisted review (TAR)
- Recommender system
- Personalised online advertising (behavioural targeting)
- Automated content moderation
- Credit scoring and creditworthiness assessment
- Payment fraud detection
- Money laundering detection and sanctions screening
- Life and health insurance risk assessment and pricing
- Automated assessment of exam performance (essay scoring)
- Risk-based review selection for applications and benefits
- Automated property valuation (AVM)
- AI-based cyberattack detection
For 34 further use cases, relevance depends on the system design, for example whether it is trained on your own data or processes personal data. Show these use cases
Frequently asked questions
- What is Unlawful Processing of Personal Data in Training?
- Personal data, including special categories, enters training or fine-tuning data without a legal basis or is wrongly treated as anonymous. If the model then contains such data itself, this can also affect the lawfulness of its further use.
- Which mitigations help against Unlawful Processing of Personal Data in Training?
- The catalogue lists 8 mitigations, each with control type, effect and implementation level. First among them are “Review and documentation of the legal basis for each data source before collection, with a documented balancing test where legitimate interest is relied on”; “Respect for technical scraping opt-outs and objections received, and exclusion of sources with particularly sensitive content”; and “Data minimisation: remove or pseudonymise personal data before training wherever it is not needed for the purpose”.
- Which EU AI Act obligations does Unlawful Processing of Personal Data in Training touch?
- The catalogue maps this threat to Art. 53(1)(d) of the EU AI Act. In the obligations compass this leads to: Respect copyright and summarise the training content. Whether an obligation applies depends on role, risk class and deadline.
Assess this threat in your own system
The live demo contains all 79 threats of this catalogue, including the EU AI Act and GDPR assessment. The free single modules cover AI risk, the EU AI Act and GDPR. No sign-up; the assessment runs locally in your browser.
Cite this entry
For reports, policies or internal documents; the link leads directly to this entry.
“Unlawful Processing of Personal Data in Training”. Versatile AI Risk Assessment, AI threat catalogue, as of November 2026. https://www.versatile-ai-risk-assessment.com/en/wissensbasis/threats/unlawful-training-data-processing/