A major data leak at the Oklahoma Securities Commission exposed thousands of Social Security numbers, files relating to FBI investigations and emails dating back 17 years, Forbes is reporting.

In all, millions of files were publicly available on an online server. The data leak was discovered by Greg Pollock, a researcher and cybersecurity expert for UpGuard.

“It represents a compromise of the entire integrity of the Oklahoma department of securities’ network,” said UpGuard’s Chris Vickery. “It affects an entire state level agency. It’s massively noteworthy.”

The exposed FBI files included agent-filled timelines of interviews related to a myriad of probes dating back to 2012. The files also contained letters from witnesses.

Forbes noted the Oklahoma agency regulates all financial securities business in the state.

“This matter is under investigation and the department has no further comment at this time,” said Charles Kaiser, spokesperson at the commission.

According to Forbes, passwords for computers on the Oklahoma government’s network were also revealed. In addition, passwords for remote access to agency computer were also exposed.