arXiv:2608.26506cs.LGAug 2026

Manuscript Offprint

arXiv:2608.26506

A Single Suffix to Break Them All: Basin-Aware Jailbreaks for Merged Model Families

Yu Zhe, Yixin Tan, Junhao Wei, Wang Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Model merging enables combining multiple fine-tuned models without additional training, but its safety implications remain poorly understood. Prior work primarily attributes merging risks to unsafe constituent models, implicitly assuming that merging individually aligned models preserves safety. In contrast, we show that model merging reveals a previously overlooked jailbreak risk rooted in the pretrained foundation model, even when all constituent models are individually safety-aligned. Motivated by this observation, we study a new threat setting where an attacker constructs jailbreak prompts that generalize across merged models sharing the same pretrained backbone, without access to the exact merging coefficients or constituent checkpoints. To exploit this phenomenon, we propose Basin-Aware Jailbreak (BAJ), which formulates jailbreak generation as a min-max optimization over the merging space to produce transferable adversarial suffixes across merged model families. Experiments across diverse backbones and merging settings show that BAJ achieves consistently high transfer success rates and remains effective under existing defenses.

1 Introduction

Recent advances in large-scale machine learning systems are often developed under a pretrain-to-finetune paradigm, where a pretrained foundation model is adapted to downstream tasks through fine-tuning (Devlin et al., 2019; Brown et al., 2020). As the number of task-specific models continues to grow, maintaining and deploying separate fine-tuned models becomes increasingly inefficient. To address this challenge, recent work has explored model merging, a training-free paradigm that combines multiple fine-tuned models into a single model by directly merging their parameters (Ilharco et al., 2023). By aggregating capabilities from multiple checkpoints without additional training, model merging provides a simple and efficient way to reuse existing models. The simplicity of this paradigm has led to its rapid adoption in open model ecosystems. Platforms such as Hugging Face 1^{1} now host a large number of merged checkpoints, where models with different capabilities are combined into a single deployable model.

Despite the growing adoption of model merging, its implications for LLM safety alignment remain only partially understood. Safety alignment aims to ensure that models refuse harmful or policy-violating instructions rather than generating unsafe content (Bai et al., 2022). Recent studies have begun to investigate alignment risks in model merging and show that unsafe behaviors can propagate from constituent models into the merged model after parameter aggregation (Hammoud et al., 2024). Under this perspective, the safety risk of merging is primarily viewed as a form of model contamination: if one of the source models is misaligned, the merged model may inherit its harmful behaviors. Consequently, existing discussions largely attribute the danger of model merging to the inclusion of unsafe downstream components.

However, we argue that existing security perspectives on model merging capture only part of the risk. Prior discussions primarily focus on whether unsafe behaviors are inherited from downstream fine-tuned models included in the merge. Under this view, the security of the merged model is largely determined by the safety of its constituent checkpoints. We hypothesize that the more fundamental risk may instead originate from the shared pretrained backbone itself. Modern foundation models are known to retain broad harmful capabilities after pretraining, while safety alignment often acts primarily as a behavioral suppression mechanism rather than completely removing such

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

1^{1}https://huggingface.co capabilities (Bai et al., 2022). By directly aggregating model parameters, merging may perturb these suppression mechanisms and expose certain vulnerable directions associated with the common pretrained model, even when all constituent models are individually safety-aligned. This raises a fundamental question: does model merging expose shared vulnerable directions associated with the pretrained backbone itself?

To investigate this question, we introduce a new threat model in which the attacker targets an entire merged model family rather than a specific merged model. Specifically, the attacker only assumes knowledge that the merged models are derived from the same pretrained backbone but composed of different aligned downstream checkpoints. If jailbreak prompts can systematically transfer across such independently aligned merged models, the vulnerability can no longer be attributed solely to any particular downstream component. Instead, it suggests the existence of shared vulnerable directions associated with the pretrained backbone and preserved through parameter aggregation.

Under this threat model, we propose Basin-Aware Jailbreak (BAJ), which constructs adversarial suffixes that generalize across merged models derived from the same pretrained backbone. The key insight behind BAJ is that merged models derived from the same pretrained model tend to lie within a connected low-loss basin in parameter space (Zhou et al., 2024a; Junhao et al., 2025). This shared basin structure constrains the diversity of merged models and preserves correlated vulnerability directions associated with the pretrained backbone. Based on this observation, BAJ searches for adversarial suffixes that remain effective throughout the merging basin rather than overfitting to a single merged checkpoint. To achieve this, we formulate the attack as a min-max optimization problem over merging coefficients, where the adversarial suffix is optimized against the most safety-aligned merged model within the basin. By forcing the attack to succeed on the hardest merged configuration, BAJ encourages the learned suffix to capture vulnerability directions shared across the merged model family.

Our contributions are summarized as follows:

  1. We revisit the security interpretation of model merging and show that merging can expose shared vulnerable directions associated with the pretrained backbone.

  2. We introduce a new threat model showing that transferable jailbreak attacks across independently aligned merged models can emerge from shared pretrained vulnerabilities.

  3. We propose Basin-Aware Jailbreak (BAJ), an optimization framework that searches for adversarial suffixes aligned with shared vulnerable directions across the merging space.

  4. We conduct extensive experiments demonstrating that BAJ achieves consistently high attack success rates across diverse merged model families under different merging settings.