Codependent behavior can be a symptom of several mental health conditions, including
borderline personality disorder
dependent personality disorder
post-traumatic stress disorder (PTSD)
histrionic personality disorder
complex trauma