The fault could cause the charging port door to detach while driving and hit other cars or road users, according to the recall notice.