In anti-TNF-exposed patients, cardiovascular disease associated with serious infections (aHR 3.279, 95% CI 1.098–9.790, p = .033) and the presence of multiple comorbidities (aHR 9.138 (1.248–66.935), p = .029) with malignancies, while patient age did not associate with safety outcomes. This evidence concerns the gene TNF and infection.