Google Dialogflow CX Cross-Agent Code Block Privilege Escalation ('Rogue Agent')
First seen Jul 8, 2026 · Updated Jul 8, 2026 · CVSS 7.5
Varonis researchers discovered a critical flaw in Google Dialogflow CX that allowed an attacker with edit access to one Code Block-enabled conversational agent to hijack other Code Block-enabled agents within the same Google Cloud project. Exploitation could expose live conversation data, steal user-shared information, and enable injection of attacker-controlled bot responses, including deceptive prompts to re-enter passwords. Google has since remediated the issue, but the flaw highlights significant multi-tenancy isolation risks in managed conversational AI platforms.
Technical Analysis
The vulnerability stemmed from insufficient isolation between Code Block execution contexts within a shared Google Cloud project, allowing an actor with edit rights on one Dialogflow CX agent to pivot laterally and manipulate the logic or output of sibling Code Block-enabled agents. This cross-agent trust boundary failure enabled interception of live conversation sessions, exfiltration of user-submitted sensitive data (including credentials), and injection of attacker-authored bot responses used for social engineering, such as fake password re-entry prompts. No public CVE has been assigned as of this report; the issue was privately disclosed to Google and patched before public disclosure. This is directly relevant to organizations deploying AI agents and conversational/RAG pipelines on Dialogflow CX, since a compromised Code Block agent could be used to hijack co-located agentic workflows, exfiltrate API keys or session tokens passed through conversation state, and inject malicious instructions into agent outputs consumed downstream by other automated systems.
Affected Systems
Google Dialogflow CX projects using Code Block (custom code execution) functionality for conversational agents; multi-agent Google Cloud projects sharing Code Block execution contexts
Indicators of Compromise
- No specific IOCs published; this is a platform-level logic/authorization flaw rather than a malware-based attack. No hashes, IPs, or domains associated with active exploitation have been disclosed.
Remediation Steps
- 1
Apply Google's Patch
Confirm that the Dialogflow CX platform has applied Google's remediation, as the fix was deployed server-side by Google before public disclosure; no customer action was required for the patch itself.
- 2
Review Access Controls
Audit and restrict edit permissions on Dialogflow CX agents to least-privilege principles, minimizing the number of users/service accounts with edit rights on Code Block-enabled agents.
- 3
Segment Agent Projects
Where possible, isolate sensitive or production conversational agents into separate Google Cloud projects rather than co-locating multiple Code Block agents in a single shared project.
- 4
Audit Conversation Logs
Review historical Dialogflow CX conversation logs and Code Block execution logs for anomalous behavior, unauthorized code changes, or unexpected message content indicating exploitation prior to the patch.
- 5
Rotate Exposed Credentials
If chatbots handled password re-entry or other sensitive data flows, rotate any credentials or tokens that may have been solicited or exposed through manipulated bot conversations.
- 6
Monitor Agent Configuration Changes
Implement change monitoring and alerting on Dialogflow CX agent and Code Block configuration modifications to detect unauthorized cross-agent tampering.
Industries Most Exposed
Respond to this threat
Pro subscribers get a full AI-generated incident-response playbook for this threat — detection, containment, eradication, and recovery steps — plus an unlimited AI Threat Advisor for questions about your environment.