Salesforce Agentforce Flaw Lets Attackers Steal CRM Data With Zero-Click Prompt Injection

A newly disclosed, now-remediated Salesforce Agentforce vulnerability chain, dubbed SalesBleed, could have enabled attackers to extract sensitive CRM data through a zero-click indirect prompt injection attack.

The attack began with a malicious submission to a public Salesforce Web-to-Lead form and required neither Salesforce credentials nor a victim click.

Zenity Labs reported that Salesforce investigated the findings after responsible disclosure and addressed the specific Trusted URLs bypasses used in the research.

Salesforce Agentforce Flaw

The vulnerabilities were reported on June 1, 2026, and Zenity later confirmed the fixes; Salesforce also said it found no evidence of exploitation in the wild.

URL redaction layer was bypassed (Source: Zenity Labs)
URL redaction layer was bypassed (Source: Zenity Labs)

Salesforce Web-to-Lead forms are intentionally exposed to unauthenticated users, so prospective customers can submit contact details.

According to Zenity, an attacker could place hidden instructions inside a lead field, creating a poisoned CRM record that remained dormant until an employee later asked Agentforce to review recent leads.

A routine request, such as asking the agent to check the newest lead, could cause Agentforce to process attacker-controlled content.

The injected instructions could then manipulate the General CRM subagent into invoking its existing Query Records capability against other accessible Salesforce objects, including Account records. This did not depend on privilege escalation; the attack abused permissions already assigned to the agent.

The potential exposure included account names, contact information, customer and prospect records, sales-pipeline data, pricing, contracts, and deal values, depending on the data available to the agent under its configured permissions.

Zenity demonstrated that an injected instruction could direct Agentforce to encode CRM values into a subdomain of an attacker-controlled URL and return the URL within an HTML image tag. When the Agentforce interface rendered that image, the client could resolve the hostname through DNS.

That DNS lookup could reach attacker-controlled infrastructure, revealing the data embedded in the subdomain before an HTTP request was required.

The employee would only see what appeared to be a normal Agentforce response and would not need to open the lead, follow a link, or approve an action. SalesBleed also included a Slack-based zero-click exfiltration route.

In affected Agentforce-to-Slack configurations, a malicious URL could cause Slack’s automatic link-preview, or unfurling, mechanism to initiate a request and leak encoded data without requiring the recipient to interact with the message.

The attack chain targeted weaknesses in Salesforce’s Trusted URLs protections, which are designed to restrict external destinations and redact URLs or images pointing to unapproved domains.

Zenity found that inconsistencies between URL filtering and browser parsing could allow specially constructed malicious destinations to bypass redaction.

Salesforce subsequently overhauled this behavior by adopting specification-conformant URL parsing and consolidating URL inspection through a centralized gateway.

It also changed default settings for certain Slack-based Agentforce actions so that message sending requires user confirmation.

SalesBleed demonstrates the risk created when an AI agent with broad access to internal business data processes public, attacker-controlled content and can generate externally resolved content.

A single contaminated lead could be triggered repeatedly whenever employees ask Agentforce to review it.

Organizations using Agentforce should treat every Web-to-Lead field as untrusted agent input, apply least privilege to CRM subagents, tightly review Trusted URL allowlists, restrict HTML or externally resolved content in responses, and inspect DNS telemetry for suspicious high-entropy subdomains.

Salesforce also provides prompt-injection detection capabilities intended to help identify attempts to manipulate an agent’s instructions.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Tamilselvan
Tamilselvanhttps://cyberpress.org/
Tamilselvan is an Investigative cybersecurity journalist dedicated to breaking stories on ransomware cartels, data breaches, and state-sponsored espionage.

Trending News

Related Stories