What federal law requires
The Help America Vote Act requires each state, through its chief election official, to maintain a single official statewide computerized voter-registration list. States decide many of the access rules around those lists, including who may obtain them, which fields are available and what uses are permitted.
The Election Assistance Commission notes an important boundary: voter files may include registration status, party affiliation in some states, participation history or voting method—but they do not reveal which candidate a voter chose. The secret ballot remains secret.