AI Engineering

AI Agent Data Breach in Spain: What the AEPD Says

Spain's data protection agency received its first breach notification involving an AI agent. Here is what the AEPD confirms, what is still alleged, how the GDPR 72-hour clock applies and six controls to check.

Toolbit AI - Team
5 min read
AI Agent Data Breach in Spain: What the AEPD Says

Spain's data protection agency said in the AEPD's blog post on September 14, 2026 that it had received its first breach notification in which an AI agent allegedly ran the attack. The account comes from the affected organization and is still under analysis, so the attack chain is alleged, not confirmed.

What changed: The AEPD describes an agent that used "a well-known language model" to chain the phases of a breach. Who's affected: Any team that gives agents, API keys or tokens access to personal data. What to do: Check your agent credentials, containment speed and 72-hour filing path this week.

The post, by Francisco Pérez Bes, says the agent searched generic files for vulnerabilities and then performed a successful login. Once inside, it searched the application for flaws "de forma autónoma," which let it modify personal data and access invoices.

The alleged chain: recon in generic files, a successful login, an autonomous search inside the app, then modified personal data and accessed invoices

What the AEPD confirms, and what is still unconfirmed

The AEPD confirms it received the notification, but it does not confirm the attack itself. It says the information comes from the affected organization and "deberá ser objeto del correspondiente análisis."

ClaimStatus
AEPD received its first AI-agent breach notificationConfirmed by the AEPD
Recon, login, autonomous search, data changed, invoices accessedAlleged, from the notification
Using a specific model does not imply the model or its provider were compromised, or that the tool was built for malicious useAEPD's explicit caveat
Attack ran "with limited human intervention"Reported by Reuters, Sep 15
Organization, model, breach date, record countsUnconfirmed

Reuters reported that the agency did not identify the model or the organization, and did not say when its review would finish. The AEPD adds that one notification does not show a statistical trend.

Machine speed breaks four incident-response assumptions

The AEPD says AI does not create new threats, but it raises the speed, scale and adaptability of known techniques. That leaves defenders less time to detect and contain an attack, and the agency draws four points from it:

  • Risk analyses: name AI-assisted and AI-executed attacks explicitly.
  • Response times: review them, because playbooks assume human-paced attackers.
  • Identities: an agent with an over-permissioned account, API key or token can reach services before anyone sees anomalies. Over-scoped credentials also widen the damage from prompt injection.
  • Automation: security cannot depend only on manual intervention.

The AEPD also cites CCN-CERT's BP/36 guide, which recommends stronger essential controls, faster vulnerability management, protected identities, supply-chain control and proper governance of agents.

The 72-hour clock is unchanged, but awareness comes sooner

GDPR Article 33(1) still applies. You notify the authority "without undue delay and, where feasible, not later than 72 hours after having become aware." The EDPB says awareness starts at "a reasonable degree of certainty" that personal data was compromised, so you do not wait for forensics to finish.

If you file after 72 hours, the notice must give reasons for the delay. Processors must tell the controller without undue delay (Article 33(2)), and every breach must be documented (Article 33(5)).

The AEPD's breach guide, from June 2021, adds Spanish mechanics. Weekends and holidays count toward the 72 hours. You can file an initial notice and then complete it within 30 days, which the guide counts as working days. If the breach likely creates high risk, Article 34(1) also requires telling the people affected.

The AEPD's Rule of 2 flags this configuration

The AEPD's agentic AI guide (V1.1, February 2026, pp. 39-40) names three risk factors: uncontrolled input, access to sensitive information and automatic actions. In its auto-reply email example with all three, the guide says: "We would have an agent configuration that should not be allowed." The rule was stated in 2021 for browser security only and later reformulated for AI agents by different authors.

Our analysis, not an AEPD finding: the reported chain shows all three factors from the attacker's side, with untrusted files as input, personal data and invoices reached, and autonomous action at each step.

The Rule of 2 factors: 1 uncontrolled input, 2 sensitive data, 3 automatic actions. Input plus data means no unsupervised actions, data plus actions needs integrity guarantees, input plus actions means no sensitive data. The guide's all-three email example should not be allowed
  • Case 1-2: block automatic actions without human supervision.
  • Case 2-3: require integrity and security guarantees for all processes.
  • Case 1-3: block access to sensitive information and personal data.

The guide calls this "a general rule of minimum focused on cybersecurity," so treat it as a floor rather than a full data-protection test.

Six controls to check this week

ControlWhat it defends againstAEPD anchor
Scope agent identities. One job and fewest permissions per keyOne over-permissioned key becoming the multiplierAEPD point on identities and credentials
Automate containment. Pre-approve token and session revocationMachine-speed attacks outrunning manual responseAEPD point on response times and automation
Tune detection for speed. Watch for parallel, machine-paced activityAnomalies going unseen until it is too lateAEPD point on speed, scale and adaptability
Gate on the Rule of 2. Add approval gates where a case requires supervisionShipping the configuration the guide says should not be allowedAgentic AI guide pp. 39-40
Update risk registers. Name AI-executed attacksRisk analyses that ignore AI-assisted attacksAEPD point on risk analyses
Bring in your DPO early.The clock starting before you understand the incidentEDPB para. 31, AEPD breach guide

A governed control plane or an external standard like AIUC-1 can turn these into reviewable gates. The AEPD closes with fundamentals that predate AI: know your processing, minimize data, limit access, fix vulnerabilities, control your providers and be ready to respond.

Share this article

Related articles

Continue exploring similar guides and insights