A screen shows visitors being filmed by AI (Artificial Intelligence) security cameras with facial recognition technology at the 14th China International Exhibition on Public Safety and Security in Beijing.
(Getty Images)

A Chinese surveillance firm using facial recognition technology left one of its databases exposed online for months, according to a prominent security researcher.

A massive database for 2,565,724 people — with names, ID card number, expiration date, home address, date of birth, nationality, gender, photograph, employer and GPS coordinates of locations — was left online without authentication, according to a report from ZDNet.

Security researcher Victor Gevers, who found the database, told ZDNet that over a 24-hour period, a steady stream of nearly 6.7 million GPS coordinates was recorded, which means the database was actively tracking Uyghur Muslims as they moved around Xinjiang province in China.

Chinese police officers already use facial recognition glasses to monitor crowds and the Communist country has studied the possibility of using small drones to bolster its sprawling surveillance network.

Fox News' Elizabeth Llorente contributed to this report.

Do you work in Silicon Valley? Contact me at christopher.carbone@foxnews.com or Twitter DM at @christocarbone. (PR pitches by email only, please.)