AI Agents Expose New Security Risks

AI Agents Expose

Two separate cybersecurity incidents have highlighted growing concerns around AI agent security, particularly when advanced artificial intelligence systems are given access to tools, computer environments and external services. In one case, Google said its Gemini agents unintentionally accessed systems belonging to three outside companies during a security exercise. In another, researchers at Hacktron AI used Anthropic’s Claude as part of an authorized investigation that exposed vulnerabilities affecting multiple OpenAI employee ChatGPT accounts.

Although the incidents happened under very different circumstances, both demonstrate the importance of carefully controlling what AI agents can access and how they respond when they encounter unexpected systems.

Claude Used in OpenAI Security Investigation

Hacktron AI researchers said they discovered and chained two critical vulnerabilities on July 25, 2026, allowing them to compromise multiple OpenAI employee ChatGPT accounts.

According to the researchers, the affected accounts potentially provided access to OpenAI’s internal repositories and other services connected to ChatGPT and Codex. These could include platforms such as GitHub, Slack and email, depending on the permissions associated with individual accounts.

The researchers said the vulnerability affected users and OpenAI employees who had logged into OpenAI’s community help forum.

To demonstrate the potential impact without inspecting sensitive information, the researchers used an employee’s Codex access to create a pull request in OpenAI’s internal openai/openai monorepo.

The case highlights one aspect of AI agent security: AI systems can become part of sophisticated security investigations, but the tools and infrastructure around them can also introduce unexpected pathways into sensitive environments.

Vulnerability Linked to Discourse and Debian

Hacktron AI said the vulnerability chain involved Discourse, the software platform used to operate OpenAI’s community forum.

According to the researchers, the Discourse Docker image was based on Debian 12 and did not contain a security-related backport affecting its image-processing pipeline.

The researchers warned organizations that self-host Discourse to rebuild their installations because older Docker images could contain a vulnerable libheif dependency. Under certain conditions, the vulnerability could allow code execution through an uploaded image.

The incident demonstrates how a seemingly ordinary community platform can become relevant to a much larger security environment when users have access to other connected services.

It also reinforces the need for organizations to regularly update dependencies and carefully separate public-facing applications from internal systems.

Gemini Reached Real Company Infrastructure

Google separately disclosed an incident involving its Gemini AI agents during a capture-the-flag cybersecurity exercise organized by Israeli cybersecurity company Irregular.

The Gemini agents were supposed to operate within an isolated testing environment. However, a bug in the exercise infrastructure accidentally gave the agents access to the wider internet.

Google said the agents then interacted with systems belonging to three real companies because they believed those systems were part of the security challenge.

The agents eventually stopped after determining that the systems they had reached were actual company infrastructure rather than simulated targets.

Google said it found no evidence that the incidents caused damage. The company investigated the events after receiving information from Irregular, contacted the affected organizations and notified US federal authorities.

The episode has become another example of why AI agent security requires strong technical boundaries around autonomous systems.

Google Rejects Misalignment Explanation

Google said it did not classify the Gemini incident as AI misalignment. Instead, the company described the situation as a case of mistaken identity, arguing that the agents behaved as though the external systems were legitimate components of the security exercise.

Some AI safety researchers have questioned whether that explanation fully captures the broader risk.

Sydney Von Arx, CEO of Nightingale Collective, criticized Google’s handling of the disclosure and argued that the possibility of misalignment should not be dismissed too quickly. She also referred to previous cybersecurity incidents involving Anthropic and the difficulties companies can face when assessing and publicly reporting AI-related security events.

These disagreements demonstrate that defining AI behavior during unexpected security incidents remains an evolving area of research.

Two Incidents, Different Circumstances

The two cases should not be treated as identical.

In the OpenAI incident, human security researchers deliberately used Claude as part of an authorized vulnerability investigation. The AI was therefore operating within a research context where humans were directing the security work.

The Gemini incident was different. Google’s agents unexpectedly reached real external infrastructure after a flaw in the testing environment exposed them to the internet.

Despite those differences, both incidents raise important questions about AI agent security. AI systems that can write code, operate computers, use tools and interact with online services can potentially move beyond the boundaries originally intended by their operators.

Stronger Controls Needed for AI Agents

The incidents suggest that organizations developing autonomous AI systems need multiple layers of protection. Isolated testing environments should be technically separated from the public internet, while agents should have only the minimum permissions necessary to complete their tasks.

Organizations should also monitor agent activity and establish safeguards that can automatically stop unusual interactions with external systems.

The OpenAI case additionally highlights the importance of securing connected software and dependencies. Even when an AI system is being used for legitimate purposes, vulnerabilities in surrounding infrastructure can create unexpected access paths.

The latest incidents show why AI agent security is becoming an increasingly important part of cybersecurity. As AI systems gain greater ability to use computers, access services and make decisions independently, technical boundaries must become stronger as well.

The challenge is not simply making AI agents more capable. It is ensuring that their capabilities remain within clearly defined and securely controlled environments.