From 2010 to 2012, China was able to dismantle significant portions of the CIA’s network of agents across the country, executing dozens of suspected spies. It now appears that problems in and hacks of the CIA’s communications systems led to China’s penetration of the network. The system itself had been imported from the Middle East, where the cyber environment was significantly less hostile.
Source: Botched CIA Communications System Helped Blow Cover of Chinese Agents – Foreign Policy