The LMVD-ID is an internal research identifier, not an official CVE identifier.
Fine-tuning Safety Bypass
Large Language Models (LLMs), even those initially aligned for safety, are vulnerable to having their safety mechanisms compromised through fine-tuning on a small number of adversarially-crafted or even seemingly…
Paper-evaluated models(7)
GPT-3.5 Turbo, GPT-4, Llama 3 70B Chat +4 more
- GPT-3.5 Turbo
- GPT-4
- Llama 3 70B Chat
- Llama 3 70B Instruct
- Llama-3-8B Chat
- Llama 3 8B Instruct
- Mistral-large-2 123B
Description
Large Language Models (LLMs), even those initially aligned for safety, are vulnerable to having their safety mechanisms compromised through fine-tuning on a small number of adversarially-crafted or even seemingly benign sentences. Fine-tuning with as few as 10 toxic sentences can significantly increase the model's compliance with harmful instructions.
Examples
See https://github.com/zhu-minjun/SafetyLock (opens in a new tab)
Impact
Compromised safety mechanisms in LLMs can lead to the generation of harmful, biased, or otherwise unsafe content. This can have severe consequences depending on the application of the LLM, ranging from the spread of misinformation to the generation of illegal or unethical content. The vulnerability allows malicious actors to easily bypass existing safety protocols.
Affected Systems
All Large Language Models that utilize fine-tuning are potentially vulnerable. Specific models mentioned in the research include Llama-3-8B Instruct, Llama-3-70B Instruct, and Mistral-Large-2 123B. This vulnerability is likely to be present in other LLMs employing similar fine-tuning methodologies.
Mitigation Steps
- Implement SafetyLock or similar techniques during the fine-tuning process to maintain robust safety post-fine-tuning.
- Carefully curate and vet fine-tuning datasets to minimize the inclusion of harmful or biased content.
- Regularly audit and test LLMs for vulnerabilities to adversarial fine-tuning.
- Develop robust detection methods to identify models whose safety mechanisms have been compromised.
Research context and confidence
- Evidence and verification
- Paper-reported; independent reproduction is not documented.
- Primary research source linked.
- Severity
- Not rated by this catalog.
- Source and publication type
- arXiv · Research preprint.
- Peer-review status is not provided by this source.
- Author and publication status
- Author metadata is not stored; see the primary paper.
- Threat model and attacker access
- Ability to influence untrusted model inputs or connected content.
- Related deployment categories
- Fine-tuning
- Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
- Affected systems
- All Large Language Models that utilize fine-tuning are potentially vulnerable. Specific models mentioned in the research include Llama-3-8B Instruct, Llama-3-70B Instruct, and Mistral-Large-2 123B. This vulnerability…
Research Paper
Locking down the finetuned llms safety
Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.
View PaperEvidence
This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.
https://arxiv.org/abs/2410.10343Related research
- Attack LLMs with Toxic Answers
Published August 1, 2024 · model-layer, prompt-layer, injection
- LLM Judge Manipulation
Published March 1, 2026 · model-layer, application-layer, prompt-layer
- Untargeted Gradient Jailbreak
Published October 1, 2025 · model-layer, prompt-layer, injection