Skip to content
INC-2023-00050ReportedCredible press or researcher reporting; no statement from the victim.What this means

UK Electoral Commission data breach

Chinese state-linked hackers exploited unpatched Microsoft Exchange ProxyShell flaws to dwell undetected in the UK Electoral Commission's systems for over a year, accessing electoral-register data on roughly 40 million voters.

Key facts

Sectors
Government
Attributed to state
China · according to United Kingdom
Actor type
State-linked
Exploited products
Microsoft Exchange Server
Disclosed
Aug 8, 2023
Began
Aug 1, 2021
Entry vector
Vulnerability exploit
Response status
Resolved
Records affected
40,000,000
People affected
40,000,000

Exploited vulnerabilities

Timeline

Inside before it became public
2 years
Whole span on record
3 years

Analysis

On 8 August 2023, the UK Electoral Commission disclosed that hostile actors had been inside its systems since August 2021, in one of the largest known breaches affecting British citizens — touching the personal details of roughly 40 million voters.

What happened

The intruders gained entry by exploiting the ProxyShell vulnerability chain in the Commission's on-premise Microsoft Exchange Server — three flaws (CVE-2021-34473, CVE-2021-34523, CVE-2021-31207) for which Microsoft had shipped patches in spring 2021. The Commission failed to apply them. Using the flaws, the attackers impersonated a user account and planted web shells, giving them persistent control.

Crucially, the attackers then dwelt undetected for more than a year. Suspicious activity was only spotted in October 2022, and the breach was not made public until August 2023 — a timeline the Commission attributed to the need to remove the actors and assess the damage first.

What was accessed

  • Reference copies of the electoral registers held by the Commission, containing the names and home addresses of everyone registered to vote in the UK between 2014 and 2022 — an estimated 40 million people, including those registered anonymously (held separately) being excluded.
  • The Commission's email system and internal control systems were also accessible to the intruders.

The Commission assessed that the data, much of which is partly public, posed limited direct risk and that electoral processes were not affected, since the registers are static copies the attackers could read but not alter.

Regulatory and security findings

In December 2023, the ICO issued a formal reprimand, finding the Commission had failed to patch known vulnerabilities and operated with weak password hygiene — many accounts still used passwords identical or similar to those originally issued by the service desk, leaving them open to guessing.

Attribution

On 25 March 2024, the UK government attributed the intrusion to Chinese state-affiliated actors, naming APT31 and the Ministry of State Security front company Wuhan Xiaoruizhi Science and Technology, and imposing sanctions alongside the United States.

Why it matters

The breach combined a basic patching failure with a year-long undetected dwell time inside a body central to British democracy. It crystallised concern about state-sponsored targeting of electoral infrastructure and pushed UK public bodies toward stricter vulnerability-management and disclosure expectations.

Sources

  1. 01electoralcommission.org.uk/media-centre/electoral-commission-subject-cyber-attack
  2. 02ico.org.uk/media2/migrated/4030454/the-electoral-commission-reprimand.pdf
  3. 03bleepingcomputer.com/news/security/uk-govt-links-2021-electoral-commission-breach-to-exchange-server/
  4. 04techcrunch.com/2023/08/09/parsing-uk-electoral-commission-cyberattack/
  5. 05electoralcommission.org.uk/media-centre/electoral-commission-response-cyber-attack-attribution-0