AI-Assisted Review Finds 100-Plus Serious Flaws in UK Government Code
Breach & Incident Intelligence · 4 sources · Updated 15d ago · First seen Nov 10, 2026

ControlPlane researcher Chris Nesbitt-Smith identified more than 100 serious vulnerabilities while reviewing 349 publicly available codebases across 33 UK public-sector organisations using consumer versions of Anthropic’s Claude Opus and Sonnet models. The most serious finding was an exposed Planning Inspectorate application credential that could provide tenant-wide read-write access to SharePoint and access to employees’ private OneDrive accounts, although the integration needed only a single HR file. The credential remained usable for approximately 18 months after its removal from a repository branch. The agency said it revoked the credential within 20 minutes of receiving the report and found no evidence of a data breach.
Other findings included authentication and authorisation weaknesses in Department for Education services and an exposed administrator token on a Scottish Government portal. All highlighted issues were disclosed and addressed. Nesbitt-Smith said routine IT health checks could have detected the weaknesses and warned that withdrawing public source code would hinder researchers without protecting against adversaries who had already copied it. Security experts recommended least-privilege access, stronger identity controls, secret scanning and secure development practices, rather than closing public repositories; exposed credentials must be revoked, not merely removed from source code.
Why it matters
ControlPlane identified more than 100 serious vulnerabilities while reviewing 349 public codebases across 33 UK public-sector organisations, with issues reported in roughly two-thirds of those codebases. Potential consequences included theft or modification of sensitive government and employee information, disruption of education services, and tampering with planning-inquiry evidence; these are potential impacts, not confirmed losses. All highlighted issues were reportedly addressed, and malicious exploitation of these specific findings is not established; the Planning Inspectorate said it found no evidence of a data breach.
- Industry-specific impact: Government & Public Sector is specifically affected. Confirmed exposures involved the Planning Inspectorate, Department for Education services, and a Scottish Government portal—not merely government use of a broadly deployed product. IT Security Guru
- Geography-specific impact: The United Kingdom is specifically affected. The reviewed code belonged to 33 UK public-sector organisations, with named affected operations including planning casework in England and a Scottish Government portal. This establishes UK exposure, not confirmed nationwide compromise. WIRED
- Highest-consequence exposure: A Planning Inspectorate application credential potentially permitted tenant-wide SharePoint read/write access and access to employees’ private OneDrive accounts, including HR information and evidence under legal hold. The integration required only one HR file. IT Security Guru


