The office removed the personal information, which exposed people to identity theft, after being alerted to the risk by a state legislator, the Los Angeles Daily News reported Friday.
The information was part of Uniform Commercial Code filings related to securing loans, and about a third of the 2 million filings had the borrowers' names, addresses, signatures and Social Security numbers, the Daily News reported.
Assemblyman Dave Jones alerted the office to the problem and told the Daily News the posting of the personal information was "potentially the longest running government Internet breach in California's history."
Exploding whale video goes viral on Internet
'SNL': 'Anchorman 2' cast, One Direction sing 'Afternoon Delight' [VIDEO]