Understanding the mechanisms behind aggressive behavior (AGG) is vital so that effective prevention and intervention strategies can be developed. Maltreated children are hypothesized to be prone to social information processing biases, such as hostile attribution bias (HAB), which, in turn, may increase the likelihood of behaving aggressively. The first aim of the present study was to replicate findings regarding associations between childhood maltreatment (CM), HAB, and aggression in a population‐based sample of Finnish female twins and their sisters (N = 2,167). However, these associations might not be causal but instead confounded by familial factors, shared between the variables. The second aim was, thus, to test the associations when potential confounding by familial (genetic or common environmental) effects were controlled for using a multilevel discordant twin and sibling design within (a) 379 pairs of twins (n pairs = 239) or siblings (n pairs = 140), and (b) within the 131 monozygotic (MZ) twin pairs. Consistent with previous studies, HAB mediated the association between CM and AGG when familial confounding was uncontrolled. No support was found for the mediation when controlling for familial confounding. Between‐pair associations were found between CM and AGG, and between CM and HAB. In addition, within‐pair associations were found between HAB and AGG, and between CM and AGG, however, these were nonsignificant in the discordant MZ analysis, offering the most stringent control of familial confounding. The results indicate the necessity of taking familial confounding into account when investigating the development of AGG.