Fine-tuning poisoning is the deliberate manipulation of training data used to adapt a pre-trained model. It works by inserting crafted examples that bias outputs, weaken safety behaviour, or create backdoors that activate on specific prompts or patterns.
How fine-tuning poisoning works
Fine-tuning poisoning is a model adaptation attack, not a weakness in the base model alone. The attacker targets the data used during supervised fine-tuning, instruction tuning, or other adaptation steps, then plants examples that steer the model toward a hidden behaviour.
The poisoned examples may be small in number but carefully placed so they survive review and shape the model’s gradients. In practice, that can shift output style, weaken refusal behaviour, or create a trigger that only appears when a specific phrase, pattern, or context is present.
Why fine-tuning poisoning is dangerous
This attack is dangerous because fine-tuning is often treated as a trusted internal process. If the training set, label quality, or provenance is weak, the model can learn malicious associations while still appearing to pass ordinary evaluation. The result is a model that behaves normally in most cases but becomes unsafe or controlled under the attacker’s trigger conditions.
The most damaging outcomes are usually subtle. A poisoned adaptation can lower safety thresholds, introduce biased completions, or embed a backdoor that survives deployment, making the compromise hard to notice until the right prompt or workflow activates it.
How organisations assess exposure
Exposure starts with the data pipeline. Teams need to know where fine-tuning data comes from, who can modify it, which datasets feed each training run, and whether the process includes third-party content, human feedback, or synthetic examples. The same discipline should apply to adapter artefacts, checkpoints, and any merged model weights.
For practical guidance on securing the full adaptation path, see Fine-Tuning and LoRA Security Guide. When the environment includes shared AI platforms, notebook access, or training job infrastructure, AI Infrastructure Workload Identity Guide helps frame the control points that protect those pipelines.
Exposure review should also check whether model intake, dataset versioning, and provenance evidence are strong enough to detect tampering before fine-tuning begins. Where the subject is broader data poisoning and backdoors, AI Data Poisoning and Backdoors Guide and OWASP LLM Top 10 LLM04 Data and Model Poisoning Guide provide the deeper control lens.
Remediation, detection, and recovery
Remediation usually means removing the contaminated data, retraining or re-fine-tuning from a clean source, and validating whether the bad behaviour persists in the resulting model or adapter. If the poisoned artefact has already been deployed, the organisation may need to roll back to a known-good version while it investigates whether the backdoor affected downstream systems or outputs.
Detection is difficult because the model may only misbehave under a trigger. That makes targeted evaluation, prompt-based probing, dataset review, and artefact provenance checks more useful than relying on generic accuracy metrics alone. After suspected exploitation, teams should also review whether the poisoned model was copied, merged, or published elsewhere.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK define the specific risk controls and attack patterns relevant to this term.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Fine-tuning poisoning often coexists with poisoned adapters or artefacts that expose or misuse secrets. |
| NHI-03 — Vulnerable Third-Party NHI | Adaptation pipelines often depend on external datasets, adapters, or model artefacts that can be poisoned upstream. | |
| NHI-05 — Overprivileged NHI | Fine-tuning jobs and model pipelines can be abused when their write access is broader than needed. | |
| Recommendation — Scan fine-tuning artefacts for leaked secrets and remove any exposed credentials before release. Validate third-party model inputs and datasets before they enter fine-tuning. Reduce fine-tuning job privileges to the minimum required for data and artefact access. | ||
| MITRE ATT&CK | T1027 — Obfuscated Files or Information | Poisoned training examples can be hidden to evade review and survive dataset inspection. |
| T1589 — Gather Victim Identity Information | Backdoor triggers often target prompts or patterns tied to specific users, roles, or workflows. | |
| Recommendation — Hunt for hidden or disguised malicious training content during dataset review. Monitor for attacker reconnaissance of prompt patterns and operational workflows. | ||
Practitioner Guidance
Why practitioners should care: Fine-tuning poisoning is a governance problem as much as a model-quality problem. The practical question is not only whether the model performs well, but whether the training data, adapter source, and approval path are trustworthy enough to justify deployment.
Common misunderstanding: High benchmark performance does not rule out poisoning. A model can look healthy in normal testing and still carry a hidden trigger or safety regression that only appears in narrow conditions.
Practitioner takeaway: Treat every fine-tuning run as a supply-chain event, with explicit provenance, evaluation, and rollback ownership before the adapted model is accepted.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org