mlsanityData to 7 Oct 2026

When LoRA Betrays: Backdooring Text-to-Image Models by Masquerading as Benign Adapters

arXiv 2602.21977 ↗First posted 25 Feb 2026cs.CVcited by 4

On the map: Diffusion models → Robustness, privacy and adversarial aspects

also in 1 more
Abstract (arXiv)

Low-Rank Adaptation (LoRA) has emerged as a leading technique for efficiently fine-tuning text-to-image diffusion models, and its widespread adoption on open-source platforms has fostered a vibrant culture of model sharing and customization. However, the same modular and plug-and-play flexibility that makes LoRA appealing also introduces a broader attack surface. To highlight this risk, we propose Masquerade-LoRA (MasqLoRA), the first systematic attack framework that leverages an independent LoRA module as the attack vehicle to stealthily inject malicious behavior into text-to-image diffusion models. MasqLoRA operates by freezing the base model parameters and updating only the low-rank adapter weights using a small number of "trigger word-target image" pairs. This enables the attacker to train a standalone backdoor LoRA module that embeds a hidden cross-modal mapping: when the module is loaded and a specific textual trigger is provided, the model produces a predefined visual output; otherwise, it behaves indistinguishably from the benign model, ensuring the stealthiness of the attack. Experimental results demonstrate that MasqLoRA can be trained with minimal resource overhead and achieves a high attack success rate of 99.8%. MasqLoRA reveals a severe and unique threat in the AI supply chain, underscoring the urgent need for dedicated defense mechanisms for the LoRA-centric sharing ecosystem.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 33 of its 48 references that are in the map. First posted on arXiv 25 Feb 2026.

Builds on

33 of 48 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024T2IShield: Defending Against Backdoors on Text-to-Image Diffusion Models5 Jul
  2. 2023VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models12 Jun
  3. 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models23 May
  4. 2023Personalization as a Shortcut for Few-Shot Backdoor Attack against Text-to-Image Diffusion Models18 May
  5. 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
  6. 2023Erasing Concepts from Diffusion Models13 Mar
  7. 2022How to Backdoor Diffusion Models?11 Dec

Other references · 26

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2020Denoising Diffusion Implicit Modelscited by 9,655
  5. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  6. 2022Generative Adversarial Networkscited by 5,603
  7. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  8. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  9. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  10. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  11. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 740
  12. 2024LoRA+: Efficient Low Rank Adaptation of Large Modelscited by 365
14 more
  1. 2020Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defensescited by 171
  2. 2021Rethinking the Backdoor Attacks' Triggers: A Frequency Perspectivecited by 155
  3. 2023Editing Implicit Assumptions in Text-to-Image Diffusion Modelscited by 128
  4. 2021Hidden Backdoors in Human-Centric Language Modelscited by 83
  5. 2025SD-LoRA: Scalable Decoupled Low-Rank Adaptation for Class Incremental Learningcited by 60
  6. 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
  7. 2023BAGM: A Backdoor Attack for Manipulating Text-to-Image Generative Modelscited by 37
  8. 2024How to Continually Adapt Text-to-Image Diffusion Models for Flexible Customization?cited by 32
  9. 2020BAAAN: Backdoor Attacks Against Autoencoder and GAN-Based Machine Learning Modelscited by 23
  10. 2021The Devil is in the GAN: Backdoor Attacks and Defenses in Deep Generative Modelscited by 12
  11. 2024LoBAM: LoRA-Based Backdoor Attack on Model Mergingcited by 10
  12. 2024Mutual Information Guided Backdoor Mitigation for Pre-trained Encoderscited by 8
  13. 2021Detecting Backdoor in Deep Neural Networks via Intentional Adversarial Perturbationscited by 6
  14. 2025Causal-Guided Detoxify Backdoor Attack of Open-Weight LoRA Modelscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025StolenLoRA: Exploring LoRA Extraction Attacks via Synthetic Data
  2. 2025LoRAShield: Data-Free Editing Alignment for Secure Personalized LoRA Sharing
  3. 2025LoRAtorio: An intrinsic approach to LoRA Skill Composition
  4. 2024Risks When Sharing LoRA Fine-Tuned Diffusion Model Weights
  5. 2025Practical, Generalizable and Robust Backdoor Attacks on Text-to-Image Diffusion Models
  6. 2025Trigger without Trace: Towards Stealthy Backdoor Attack on Text-to-Image Diffusion Models
  7. 2025AutoLoRA: Automatic LoRA Retrieval and Fine-Grained Gated Fusion for Text-to-Image Generation
  8. 2024Privacy-Preserving Low-Rank Adaptation against Membership Inference Attacks for Latent Diffusion Models