The CSDD breach
One web app, no limit on how much it would hand out, and 18 years of payment receipts walked out of Latvia's road traffic agency.
On the night of Saturday 8 August 2026, someone started asking a CSDD web application for data. It kept answering. By the time the questions stopped two days later, the attacker had payment receipt records on about 1.2 million people and 200,000 companies and other legal entities, going back to 2008.
That’s most of Latvia. The country has just over 1.8 million people.
Nobody broke down a door. The attacker found a flaw in one small application, and then nothing on the other side ever said “that’s enough”.
Before
CSDD is the Road Traffic Safety Directorate, a state joint stock company. It runs the register of vehicles and drivers, and people pay it for its services. Every one of those payments left a receipt, and the receipts were kept.
Each receipt held a personal code or company registration number, a name, the amount, the date, a vehicle number plate and the address registered on the day of the service. Years of them sat in one table. Nobody asked whether a receipt from 2008 still needed to be there. That question only came up afterwards, from the commission the Ministry of Transport set up to find out what went wrong.
CSDD ran its own applications. Some of them faced the internet. One of those was a web application at med.csdd.lv.
The agency didn’t run everything alone. A telecom company, Tet, had a contract covering CSDD’s network, connections and infrastructure, and it watched the data flowing across them. The Record reported that the contract ran for five years. What Tet didn’t cover, by its own account, was the security of CSDD’s own services and apps.
There was one more gap. CERT.LV is Latvia’s national incident response team, and it offers state bodies services that help watch for attacks. According to CERT.LV’s deputy head Varis Teivāns, as LSM reported, CSDD had declined those services and said it could cope on its own. So CERT.LV’s view inside CSDD was limited.
Two months earlier, in June, the state forestry company Latvijas valsts meži had been hit by ransomware. That attack was still fresh news when CSDD’s turn came.
How it unfolded
LSM reported that the incident began on the night of 8 August inside CSDD’s infrastructure. It was a weekend. CSDD’s own later analysis says the data was taken between 8 and 10 August, inclusive.
On the evening of Monday 10 August, CSDD reported the incident to CERT.LV. CERT.LV later called the report late and put part of the delay down to the weekend.
On Thursday 13 August CSDD went public. Its statement said the agency had faced a “complex cyberattack” over the weekend. The attackers had partly reached its IT system and pulled out historical payment receipt data. CSDD’s IT head, Māris Puriņš, said the methods and channels the attackers used had been found and fully blocked. Usernames and passwords weren’t touched, he said, so clients didn’t need to do anything. Services ran as normal.
The early read was that the attack was targeted, prepared in advance and carried out by technically competent people.
Over the following days CERT.LV put out fraud warnings. Then came a second attempt. Over the holiday weekend, a separate targeted attack hit CSDD and was blocked. Puriņš credited the security improvements made since the first one.
On Tuesday 18 August CSDD finished its analysis of what had been taken. The answer was far larger than “some personal data”: about 1.2 million people and 200,000 legal entities. Contact details, phone numbers and email addresses, were not in the haul. Addresses weren’t complete in every record. CSDD also stopped letting unauthorised users look up a car’s make and model by its number plate.
The same day the Prime Minister, Andris Kulbergs, called an extraordinary cabinet session. He’d heard the reports of CERT.LV and the Constitution Protection Bureau, and he concluded the incident was much more serious than the public had been told. He spoke of “IT security infantilism” in some state bodies. The State Police confirmed a criminal case, under articles on unauthorised access to an automated data system and unlawful interference with its resources.
How it was found
The attacker wasn’t caught by an alarm. They were caught by people.
CSDD’s chief, Aivars Aksenoks, told reporters that his own employees spotted the intrusion and stopped it within hours. He pointed at Tet, which he said hadn’t detected anything.
Tet answered on 21 August. It had watched the data flow, as its contract required, but the volume of traffic on its own doesn’t mark something as an attack. More to the point, under the contract Tet was never given access to the log files of the med.csdd.lv application. Those logs record who asked the application for what. Without them, Tet says, it couldn’t have seen the incident. After CSDD warned it, Tet changed its detection thresholds and stepped up monitoring.
So three parties could have looked, and each had a reason it didn’t see. CSDD owned the application but had nothing that flagged unusual requests. Tet watched the pipes but not the application. CERT.LV had been kept at arm’s length.
Even the reporting timeline is disputed. CERT.LV said the report came late. The ministry’s commission later found that CSDD did meet its statutory reporting deadlines once it discovered the incident. The two accounts don’t line up, and the public record leaves it there.
How it worked
Picture a clerk at a records office window. You ask for a file and the clerk hands it over. You ask for another, and another, all night. A sensible clerk would look up at some point and ask why one person needs ten thousand files. This clerk never looked up.
That’s roughly what the commission found. Its findings, published on 18 September, come down to four things.
First, the way in. A vulnerability in med.csdd.lv let the attacker get a foothold and reach CSDD’s information systems from there. No public report says what the flaw was, or what the application did. CERT.LV called it a vulnerability in a system reachable from the internet, and that’s as far as the official word goes.
Second, the doors that should have been locked. CERT.LV said several mandatory security requirements weren’t met, among them multi‑factor authentication and penetration testing. Multi‑factor authentication means a password alone isn’t enough to log in; you also need a code from a phone or a key. A penetration test is a paid attempt to break in, so you find the holes before someone else does. The commission found the testing that was done didn’t cover enough, and the network protection was weak.
Third, the missing clerk. There were no adequate limits on how many requests one user could make, and no mechanism to flag unusual behaviour. That’s why the theft could run for a long time and at scale. The commission said a professional monitoring provider would normally be expected to notice and cap that kind of long, unusual data activity.
Fourth, the pile itself. The attacker took the data in an unstructured, incomplete form, straight out of a table of payment receipts. That table only held so much because historical personal data had been kept for a long time. The Data State Inspectorate is assessing that part.
Behind all four, the commission saw an organisation where security controls existed on paper and often failed in practice. It noted too few specialists, incomplete documentation and gaps in risk management. Deputy State Secretary Kaspars Bērziņš said the protections simply weren’t there, and questioned whether earlier audits had worked.
Who did it, and why, is still open. The attacker hasn’t named themselves. Kulbergs didn’t rule out a hostile state’s intelligence service. The security researcher Kirils Solovjovs told LSM that a criminal motive would mean the data turns up for sale, while a state motive could put senior officials at risk.
What happened next
On 19 August the Minister of Transport met the CSDD council and board and asked all of them to resign. He saw no way for the board to carry on. He ordered a fast internal investigation, including a look at whether the Tet contract gave value for the large sums paid under it. CSDD’s whole management left that day. An interim council and board took over. The Prosecutor General’s Office opened its own check into possible violations or negligence.
The government handed out tasks with deadlines. The Data State Inspectorate had until 31 August to assess the breach and its effect on people. CERT.LV and the Constitution Protection Bureau were to pick out critical systems that need early warning sensors. The Defence Ministry was to make CERT.LV’s protection mandatory in critical systems. Every ministry was told to have the IT systems of its agencies and companies penetration tested, and to rerun any test older than six months.
For the 1.2 million people, the practical risk is fraud. A scam text that knows your name, personal code, car plate and address is far more convincing than one that doesn’t. CERT.LV’s advice was blunt: don’t open links in messages that claim to be from CSDD, check anything at e.csdd.lv or in the CSDD app, and never approve a Smart‑ID or eParaksts request you didn’t start yourself. From 27 August, anyone with a CSDD e‑services profile could log in and see exactly which of their data had been taken.
What they saw there was odd. CSDD showed each person their data in the same form the attacker got it: unstructured and incomplete, lifted straight from the receipts table. CSDD asked people not to post it on social media, and suggested installing CERT.LV’s DNS firewall app, which blocks scam calls, messages and dangerous websites. It also built one page on its own site that gathered every update about the attack in one place.
People also wanted money. By 9 September CSDD had received more than 2,500 compensation claims, most of them for €10,000.
The figures moved a little as the work went on. Early reports said roughly 150,000 legal entities. The commission’s report put it at about 1.15 million people and up to 200,000 legal entities, all from the Vehicle and Driver Register. The estimates differ a little, and I’ve used CSDD’s own count of 18 August in the opening.
The commission’s own recommendations were short. Fix the risks it found. Review how long data is kept. Make sure there are enough security people. Rewrite the Tet contract. Build a way to manage outsourced services properly. It didn’t judge any individual; that’s for the police and the prosecutor. A CSDD representative, Mārtiņš Mālmeisters, called the review superficial and said no single person was to blame.
What it means for a small business
You don’t need a register of 1.2 million people for this to apply. If your website lets customers look things up, ask your developer one question: what stops one visitor from downloading everything? A limit on requests, with an alert when someone hits it, is the clerk who looks up. And delete the old customer records you no longer need, because data you’ve thrown away can’t be stolen.
Sources
- CSDD (LV portāls), 2026‑08‑13
- CSDD (LV portāls), 2026‑08‑18
- Valsts kanceleja (LV portāls), 2026‑08‑18
- LSM, 2026‑08‑18
- Satiksmes ministrija (LV portāls), 2026‑08‑19
- The Record, 2026‑08‑19
- Tet (LV portāls), 2026‑08‑21
- CSDD (LV portāls), 2026‑08‑27
- Satiksmes ministrija (LV portāls), 2026‑09‑18
- LSM, 2026‑09‑18