Background: Both exercise addiction (EA) and muscle dysmorphia (MD) primarily involve the compulsive practice of physical exercise and are classified as behavioral addictions in different lines of research. These types of addictions are frequently comorbid with other addictive pathologies, such as emotional dependence (ED), which is closely related to childhood attachment. This study is presented to address the scarcity of research relating EA and MD with other behavioral addictions. The aims are to analyze the sex differences found in emotional dependence, attachment dimensions, EA and MD; to analyze the association between EA and MD and other behavioral addictions, such as emotional dependence and attachment dimensions; and to analyze the possible role that childhood attachment plays in mediating the interaction between emotional dependence and EA and MD.Method: The sample comprised 366 participants (54.6% women) aged 17–31 (M = 23.53; SD = 6.48).Results: There are sex differences, with men scoring higher in EA, MD, and ED. The positive relationship between EA and ED (values between 0.16 and 0.28), MD (presenting values between 0.42 and 0.70), and attachment styles based on preoccupation, interference, permissiveness, and value of parental authority (values between 0.11 and 0.14) is highlighted. On the other hand, MD was positively related to ED (values ranging from 0.24 to 0.36) and attachment styles based on the value of parental authority, self-sufficiency, and resentment toward parents (between 0.17 and 0.18), and negatively related to secure attachment (values between −0.13 and −0.18). Likewise, the predictive role of ED and attachment styles in EA and MD was tested. And it was observed how attachment styles mediated the relationship between EA and ED, as well as the relationship between MD and ED. Thus, it has been shown that people with EA and MD present attachment styles that may influence negatively the decision-making process when choosing inappropriate strategies to achieve adequate emotional regulation, even selecting inappropriate goals for physical exercise with negative consequences.Conclusions: The dissemination of the findings among mental health and sports science professionals is necessary to develop prevention and intervention strategies for people affected by EA and MD.