Artificial Intelligence
Shadow AI in healthcare: pseudonymising a prompt is not proof of GDPR compliance

After a Johns Hopkins incident affecting 3,182 patients, understand shadow AI, pseudonymisation, anonymisation and the safeguards healthcare organisations should verify.
Need to apply this to your organisation?
Discuss my team's AI useWhat does shadow AI actually mean?
Current event — Johns Hopkins, October 2026. On 21 September 2026, a staff member at Johns Hopkins Bayview Medical Center mistakenly uploaded a spreadsheet containing patient information to a public AI tool that the organisation had not approved. The hospital discovered the disclosure the same day and began notifying 3,182 patients from 22 October. The information involved could include names, admission and treatment dates, medical record numbers, administered medications and clinicians' names. The AI tool has not been publicly identified.
Shadow AI means professional use of AI tools or features outside the organisation's defined framework: an undeclared tool, a personal account, an AI feature embedded in software, or use beyond the authorised scope. It can involve a browser extension, a transcription service or a meeting assistant as well as a chatbot.
For DPOs, information security leads, healthcare managers and digital teams: this article helps identify AI uses that escape your organisation's oversight and assess the safeguards offered.
Consider three illustrative situations: a secretary pastes a clinical report into a personal assistant; a clinician enables transcription without checking where the recording goes; an employee lets an extension read displayed documents. Who knows the recipient, the access granted and the retention period? Shadow AI is not the name of a legal offence, but these uses can engage obligations the organisation has not assessed.
Health data is not limited to a diagnosis
In Lindenapotheke, 4 October 2024, C-21/23, the CJEU classified information entered to order pharmacy-only medicines online as health data, even without a prescription. Linking a person to a medicine can reveal health information. In this context, the Court does not require certainty that the buyer is the patient: probability is sufficient.
Long before the GDPR, Lindqvist, 6 November 2003, C-101/01, decided under Directive 95/46, already classified information about an injured foot and partial medical leave as health data.
Meta Platforms, 4 July 2023, C-252/21, clarified that linking browsing data falls within the sensitive categories if it reveals such information. Visiting a website is not sufficient to make the data about that visit manifestly public.
Two questions must remain distinct: does the content reveal health information, directly or by inference? Can it be linked to an identified or identifiable person? Our application to prompts is to assess any treatments, purchases and absences mentioned, then the possibilities of identification. These rulings do not directly concern AI assistants.
Removing a patient's name: three different operations
A nameless note may still contain a rare condition, an exact age, a town and the date of an intervention. Together, these details may identify the patient. A vendor's terminology must therefore correspond to a demonstrable property: the CNIL distinguishes pseudonymisation from anonymisation.
The EDPB adopted Guidelines 02/2026 on anonymisation on 7 July 2026 for public consultation. The consultation ran from 8 July to 30 October 2026 and is now closed. The published text remains the version submitted for consultation; it should not be described as a post-consultation final version.
| Operation | What to check |
|---|---|
| Masking | Some elements are removed or replaced. This proves neither complete pseudonymisation nor anonymity: free text and context may remain identifying. |
| Pseudonymisation | The data can no longer be attributed to a person without additional information. That information must be kept separately and protected by technical and organisational measures, as required by GDPR Article 4(5). |
| Anonymisation | Identification must no longer be reasonably possible, considering available means, linkability, cost, time and technology. Removing direct identifiers alone does not establish this outcome. |
The GDPR requires an assessment of means reasonably likely to be used. Classification therefore depends on the processing, its context and the possibilities of identification. An 'anonymised' label in an interface cannot replace that assessment.
What the courts actually decided
A recipient's lack of a key does not close the assessment. In Breyer, 19 October 2016, C-582/14, decided under Directive 95/46, the CJEU explained that information enabling identification may be held by different parties. The reasonable means of combining it must be examined, including legal routes to additional information. For a prompt, the possibilities of cross-referencing therefore require a concrete assessment.
On 4 September 2025, in case C-413/23 P, the CJEU clarified, under Regulation (EU) 2018/1725 applicable to EU institutions and bodies, that pseudonymised data may not be personal for a recipient with no reasonable means of identifying individuals. The original controller's information obligation is assessed at collection and from that controller's perspective. The judgment does not authorise sending any masked text to an AI service.
In France, the Conseil d'État, on 13 February 2026, no. 498628 and joined cases, dismissed the challenges concerning the THIN and 'Gers Études clients' databases. Individual histories could be singled out using ordinary tools such as a spreadsheet, and cross-referencing allowed pseudonymity to be lifted by reasonable means.
Our practical reading for an AI project: document the data actually sent, the additional information accessible to the recipient and the enforceable safeguards. Removing a name from a prompt is only the start of the assessment.
Actual sanctions when claims of anonymity fail
The three cases below concern health databases. They are not fines for using ChatGPT. By analogy, they illustrate the risk of setting aside obligations because data is too quickly labelled anonymous. Each amount covers several infringements.
| Decision | Key infringements |
|---|---|
| Cegedim Santé — €800,000, CNIL, 5 September 2024 | Two distinct infringements: failure to comply with Article 66 formalities under the French Data Protection Act and unlawful collection of reimbursement histories (HRi). The sanction was upheld by the Conseil d'État on 13 February 2026. |
| IQVIA Operations France — €5 million, CNIL, 26 May 2026 | Failure to comply with authorisation safeguards, including information, rights and security. The data was pseudonymised: its depth and possible cross-referencing prevented a finding of anonymity. |
| IQVIA Solutions Italy — €7 million, Garante, 23 September 2026 | Infringements concerning, among other matters, lawfulness, information, retention, impact assessment and security. Free-text fields had allowed directly identifying data to pass through. |
The Italian case illustrates an essential check for prompts: test free text, attachments and their metadata, as well as fields labelled 'first name' and 'surname'. For an organisation, the useful deliverable is a documented assessment of re-identification risks and the obligations that still apply.
Know exactly what the gateway can and cannot see
A gateway may inspect the requests it receives, apply a rule, block or request human approval, and keep a record. These possibilities depend on detectors, configuration and integrations. A personal device or account that bypasses it does not automatically become visible.
Technical controls must also fit a legal framework: purpose, lawful basis, a condition for processing health data, professional confidentiality, recipients, contracts and any international transfers. The CNIL recommends assessing these deployment conditions. Masking may reduce a risk; it cannot answer every one of these questions.
Six questions to put to any vendor
Before equipping teams, request a demonstration using representative test data and retain the answers.
This review should also reflect Article 4 of the AI Act in its consolidated wording as of 27 July 2026. Providers and deployers must take measures to support the development of AI literacy for staff and other people using AI systems on their behalf, taking account of context, knowledge, experience, education and training. The amended text expressly states that this does not require a specific level of AI literacy to be guaranteed for each individual. Article 4 has applied since 2 February 2025.
- Which tools, accounts, extensions and devices are covered? Which uses escape the controls?
- What data is detected, including indirect identifiers, free text and attachments? What results and errors have been measured?
- What transformation takes place? Who holds the additional information, and what cross-referencing remains possible for the recipient?
- Which rules allow, transform, block or require approval of a request? Who approves exceptions?
- What evidence can be exported: the decision, applied rule, policy version and human approval? Do logs avoid unnecessarily copying sensitive information?
- What happens if detection fails, information is missing or the required approval never arrives?
From an inventory to demonstrable decisions
Start with actual uses: what teams do, the data they send and the tools they can reasonably adopt. Follow with understandable rules, suitable training and controls whose scope is known.
Les DPO de la Santé supports this legal and operational work: mapping uses, qualifying data and roles, defining internal rules, assessing providers, reviewing safeguards and identifying the evidence to retain.
The purpose of the discussion is to identify priority uses, the data to protect and the safeguards to verify before deployment, so that decisions can be made on documented facts.
Explore further: the rules, decisions and sources
Official sources
- CNIL — FAQ on using generative AI (French)
- CNIL — Anonymisation of personal data (French)
- EDPB — Guidelines 02/2026 on Anonymisation, adopted on 7 July 2026 for public consultation
- EDPB — Public consultation on Guidelines 02/2026, 8 July to 30 October 2026
- AI Act — consolidated version as of 27 July 2026
- GDPR — Regulation (EU) 2016/679
- CJEU — Lindenapotheke, 4 October 2024, C-21/23
- CJEU — Lindqvist, 6 November 2003, C-101/01 (French)
- CJEU — Meta Platforms, 4 July 2023, C-252/21
- CJEU — Breyer, 19 October 2016, C-582/14 (French)
- CJEU — EDPS v Single Resolution Board, 4 September 2025, C-413/23 P
- Conseil d'État — GERS, Santestat and Cegedim Santé, 13 February 2026, nos. 498628, 498629 and 498749
- CNIL — Cegedim Santé, €800,000 fine of 5 September 2024
- CNIL — IQVIA Operations France, sanction of 26 May 2026, statement of 28 May 2026
- Garante — IQVIA Solutions Italy, decision no. 710 of 23 September 2026
Press
Receive our next insightsPractical analysis of health data and AI.
Share this article
General information. Applying it to your situation requires a review of your project.
