Cyberattack on the CASS: how a security breach can impact the private sector
In summary
The cyberattack on the CASS exposed the identifying data of 477,239 insured persons through millions of automated queries from the entity’s business portal.
As a public entity, the CASS can only receive a reprimand from the APDA; a private company would face fines for several serious and very serious infringements.
The LQPD requires security that is appropriate to the risk and demonstrable: evidence of compliance prior to a breach is the main mitigating factor before the APDA.
1. What happened at the CASS: the known facts
On Wednesday, 12 November 2026, the main headlines in the Principality of Andorra reported one of the largest cyberattacks suffered by an organisation in Andorra.
The attackers accessed the business portal using digital certificates issued by the CASS itself. Once inside, they took advantage of the functionality that allows employers to enter an NIA before processing a registration, which automatically returned the insured person’s identifying data. Through millions of automated queries, they obtained the data of 477,239 insured persons of the entity.
Compromised data
The CASS has specified that the personal data exposed are the NIA, affiliation number, first and last names, sex, and date and place or country of birth.
2. Data protection implications under the LQPD
The incident constitutes a personal data security breach within the meaning of art. 4.13 of Llei 29/2021, of 28 October, qualified personal data protection law (LQPD).
Although the affected data do not belong to special categories, the number of affected individuals and the usefulness of this data for social engineering place the risk to the affected persons at a high level.
CASS obligations as controller
Principle of integrity and confidentiality (art. 5.2.f) LQPD): data must be processed with security appropriate against unauthorised processing, through suitable technical and organisational measures. It is the controller’s responsibility to comply with the provisions of the LQPD and be able to demonstrate it, in accordance with the principle of proactive accountability (art. 5.3).
Data protection by design and by default (art. 28): a query that returns the full name associated with any NIA, to any user with access and without a limit on requests, does not comply with the minimisation principle. It not only facilitates large-scale unlawful obtaining of data, but also allows a user who enters an incorrect NIA by mistake to access another person’s data.
Security of processing (art. 35): taking into account the state of the art, the cost of implementation, the nature, scope, context and purposes of the processing, as well as the risks to the rights and freedoms of individuals, the controller must implement appropriate technical and organisational measures to prevent incidents. The fact that the attack was detected because the server became saturated, and not because of a mechanism that prevented unlimited consultation of any insured person’s data, indicates that the measures were not adequate.
Data protection impact assessment (art. 32) and record of activities (art. 34): an online service open to thousands of employers, exposing data of almost the entire population, is an obvious candidate for a prior impact assessment to determine the risks and the measures to minimise the materialisation of harm.
The lesson of the NIA as a verification datum
The NIA is not a password. The risk lies in the fact that many organisations, public and private, still verify their customers’ identity, by telephone or online, using first and last names, date of birth and administrative identifiers.
It is worth recalling the Andorra Telecom case of 2025. The APDA criticised the security weaknesses of the SIM-to-eSIM migration procedure, which only requested data that third parties could easily access to verify identity (first and last names, telephone number and identification document), and concluded that, as the sole verification mechanism, it was “clearly insufficient”.
In the case of the CASS, the fact that the only element needed to access a broad range of personal data is knowing a person’s NIA means, prima facie, a weak security mechanism and one within anyone’s reach.
3. Public administration versus private company: the sanctioning regime
Why the CASS will not be fined
Art. 74 LQPD establishes a special regime for the general administration, the comuns, public bodies and parapublic entities. When they commit an infringement, the APDA must sanction them with a reprimand and set out the measures to cease the conduct or remedy its effects.
The decision is published on the APDA website identifying the entity. This was exactly the solution applied to Andorra Telecom in 2025, despite the APDA finding four infringements, one of them very serious.
What if it had happened in a private company?
Let us imagine that an Andorran services company suffers exactly the same incident, with the same data, the same attack vector and the same number of affected individuals. The APDA could find the following infringements:
Art. 72.1.a), very serious: processing that breaches art. 5 (integrity and confidentiality, and proactive accountability). Fine of EUR 30,001 to EUR 100,000 (art. 73).
Art. 72.2.l), serious: failure to implement technical and organisational measures due to lack of diligence (arts. 27 and 35). Fine of EUR 15,001 to EUR 30,000.
Art. 72.2.k), serious: failure to adopt appropriate measures so that, by default, only the necessary data are processed (art. 28). Fine of EUR 15,001 to EUR 30,000.
This classification is not theoretical: it is the same catalogue of infringements that the APDA applied in the Andorra Telecom case.
Art. 68 LQPD also contains a specific rule for cases where several provisions are infringed through the same processing operations, which moderates the total amount and must be taken into account in each case.
4. How compliance with the LQPD prevents or mitigates the sanction
The LQPD does not require infallible security, but rather security appropriate to the risk and demonstrable. That is the key: the same breach may end in a sanction at the higher end of the scale or in a much lighter proceeding, depending on what the company can prove before and after the incident.
What the APDA considers when grading the fine
Art. 68 LQPD requires the APDA to take into account, among other criteria, intent or negligence in the infringement, the degree of responsibility of the controller in light of the technical and organisational measures applied, the degree of cooperation with the authority to remedy the infringement and mitigate its effects, and the categories of data affected.
Each of these criteria is won or lost with evidence of compliance prior to the breach.
Post-incident measures are not enough
The Andorra Telecom decision offers another lesson: the APDA described the measures adopted after the incident as “essentially reactive” and did not consider them sufficient to avoid the sanction. In addition, it acted on its own initiative because the breach had not been notified to it.
Post-incident measures help, but the main mitigating factor is having complied beforehand and being able to demonstrate proactive compliance with the LQPD.
5. Next steps
We recommend that companies processing personal data review their processing activities using this case as a reference. These are the measures that would have changed the outcome in a case like the CASS:
Impact assessment and risk analysis of the service before going live, with periodic review. This would have made it possible to identify the risk of mass enumeration of identifiers.
Privacy by design: return only what is strictly necessary (for example, initials or a match confirmation), limit the number of queries per user and per period, and require a reason linked to a real employment relationship.
Robust authentication: certificates with proper custody, two-factor authentication, swift revocation and alerts for access from unusual locations or with unusual patterns.
Monitoring and detection: alert thresholds, properly sized and reviewed audit logs, and periodic penetration tests on exposed portals.
Breach management procedure tested through drills, with APDA notification templates within 72 hours and communication templates for affected individuals, and an internal incident register.
Management of processors (art. 31): contracts with security guarantees, an obligation to notify breaches without delay, and audit rights.
Governance: updated record of activities, data protection officer where applicable, staff training, and review of identity verification processes based on data that are easily obtainable.
It is advisable to start with online services that allow consultation of third-party data and with identity verification processes based on data that are easily obtainable, as these are the ones highlighted by this case.
This article is for informational purposes only and does not constitute legal advice. To assess its application to a specific case, please contact our team.
Do you need legal advice?
Our team is ready to help you.