UK Government Codebases Reveal Over 100 Security Vulnerabilities
A security researcher found over 100 serious vulnerabilities in UK government code, exposing sensitive data due to poor cyber hygiene practices across 33 organizations.
Vulnerabilities in UK Government Codebases
A security researcher has identified more than 100 serious vulnerabilities in publicly available UK government code, raising concerns about the exposure of sensitive data due to poor cyber hygiene [WIRED AI]. In around two-thirds of the 349 public sector codebases across 33 organizations scanned by Nesbitt-Smith, vulnerabilities were found [WIRED AI]. Several of these vulnerabilities were located in the Department of Education’s code, including within a procurement service used by schools, a teacher application service containing personal details, qualifications, employment history, and identity documents, and England’s main register of government-funded training providers and apprenticeships [WIRED AI]. These findings highlight the need for improved security practices in the management of public sector codebases.
Specific Case: Planning Inspectorate Credential Leak
In the most serious case identified, the Planning Inspectorate—a UK government agency responsible for land-use matters across England—exposed sensitive credentials after accidentally committing them to a public GitHub repository. According to the security researcher who discovered the issue, the leaked login provided “god-tier” access to Microsoft Entra ID, granting read and write permissions to all SharePoint sites and private employee OneDrive accounts, including HR records. The researcher noted that the credentials’ wide access scope, combined with their apparent lack of expiration, made the breach particularly dangerous. Additionally, the leaked access would have allowed unauthorized viewing of sensitive legal documents stored in libraries safeguarding evidence for statutory planning inquiries and appeals. The researcher described the situation as “daft stuff,” emphasizing the preventable nature of the error.
Response and Mitigation Efforts
In response to the exposure of security flaws across UK government sites, the Planning Inspectorate confirmed that its cyber monitoring tools detected unauthorized activity in August. The agency stated that it had already been treating this as a cyber incident prior to ControlPlane’s involvement. Within 20 minutes of receiving the report, the vulnerability was identified and resolved, with no data breach confirmed. A spokesperson emphasized that the agency has since reviewed and reinforced its systems and processes to prevent similar issues in the future. They also expressed gratitude toward the researcher for bringing the issue to their attention. These steps highlight the agency’s commitment to addressing vulnerabilities promptly and transparently, though the incident underscores the ongoing challenges in securing public sector digital infrastructure.
Broader Implications and Industry Perspectives
The exposure of ‘god-tier’ information across UK government websites has sparked broader discussions about security practices and the role of open source in public sector operations. According to Amanda Brock, CEO of OpenUK, the Planning Inspectorate issue “isn’t about open source but internal housekeeping when using public tools.” She emphasizes that “that data was exposed because of a failure not to follow good process.” These statements highlight a growing concern that security lapses often stem from procedural missteps rather than inherent flaws in open source software. Recently, there have been arguments for public sector departments to stop publishing source code in the open, now that AI has accelerated vulnerability discovery. However, such moves remain controversial, with many advocating for continued transparency as a means to foster accountability and collaboration in improving digital infrastructure.
Shift in Open Source Policy and Security Concerns
In response to growing security concerns, the UK government has reportedly initiated a shift in its open source policy, with the NHS ordering technology teams to move away from open source code in May. This decision comes amid worries about the potential risks posed by AI models interacting with such code. According to Nesbitt-Smith, failing to address the underlying security issues while making this transition would constitute the “worst case scenario.” He explains that closing repositories without fixing vulnerabilities could draw more attention to them, potentially alerting adversaries who may have already mirrored these repositories and retained access. Nesbitt-Smith emphasizes that unless all problems are resolved, the move could inadvertently highlight the existence of security flaws, making them more attractive targets for exploitation.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.