The "SalesBleed" Vulnerability: How Zero-Click Prompt Injections Turned Salesforce Agentforce Into a Silent Data Exfiltration Vector

In the rapidly evolving landscape of enterprise artificial intelligence, organizations are eagerly deploying autonomous agents to streamline customer relationship management (CRM) workflows, analyze pipeline data, and accelerate sales cycles. However, as AI systems are granted deeper integration into backend databases and broader access to sensitive corporate assets, they are also inheriting complex new threat surfaces.

Security researchers at Zenity Labs recently unveiled a startling wake-up call for the enterprise AI sector: a chain of zero-click vulnerabilities within Salesforce Agentforce. Dubbed "SalesBleed," the attack vector allowed malicious actors to silently exfiltrate highly confidential CRM data without authentication, requiring zero user interaction, and entirely bypassing standard security safeguards.

While Salesforce has swiftly patched the critical flaws, the discovery of SalesBleed underscores a broader, systemic risk inherent to modern Large Language Model (LLM) architectures: the inherent danger of trusting external data sources processed by autonomous AI agents.


Main Facts: Dissecting the SalesBleed Attack Chain

At its core, SalesBleed represents a sophisticated exploitation of indirect prompt injection combined with native platform features. Discovered and analyzed by Zenity Labs’ threat research team, the vulnerability allowed unauthenticated external attackers to extract sensitive corporate CRM data—ranging from high-value deal sizes to proprietary client records—simply by submitting a standard web form.

The Anatomy of the Attack

The SalesBleed attack chain relies on a confluence of three core elements within the Salesforce ecosystem:

  1. Unsanitized Ingestion Points: Public-facing Web-to-Lead forms, a ubiquitous feature used by organizations to capture inbound prospect data, accepted external text inputs without adequate validation against malicious prompt instructions.
  2. Autonomous Processing by AI Agents: Salesforce Agentforce—designed to autonomously ingest, summarize, and act upon CRM records—subsequently processed the tainted lead record as part of routine business operations.
  3. Data Exfiltration via DNS Channels: Once triggered, the injected prompt hijacked the agent’s execution flow, forcing it to query sensitive backend databases and smuggle the information out using DNS-based exfiltration techniques.

Crucially, the attack required no credential theft, no phishing, and no direct access to the target organization’s internal network. The malicious payload was seeded entirely through a public-facing entry point, and the target’s own automated AI agent executed the exfiltration during normal, day-to-day operations.


Chronology: From Discovery to Responsible Disclosure and Remediation

The lifecycle of the SalesBleed vulnerabilities highlights the critical importance of collaborative vulnerability disclosure between independent security researchers and enterprise software vendors.

  • June 2024: Security researchers at Zenity Labs uncover the zero-click data exfiltration vector while auditing the security posture of Salesforce Agentforce and its handling of external inputs. They formulate the "SalesBleed" attack chain and document how prompt injections can bypass built-in safety controls.
  • June 2024 (Late): Zenity formally reports the vulnerabilities to Salesforce’s product security and incident response teams, providing comprehensive proof-of-concept demonstrations detailing how Web-to-Lead forms can be weaponized against Agentforce instances.
  • June – August 2024: Salesforce engineers investigate the reported mechanism, focusing specifically on the URL redaction bypasses that allowed outbound DNS exfiltration to slip past security boundaries.
  • August 18, 2024: Salesforce deploys a comprehensive security update that fully fixes the URL redaction bypass vulnerability, effectively remediating the underlying flaw and neutralizing the SalesBleed attack vector.
  • September 24, 2024: Zenity Labs publicly publishes its comprehensive technical report on the SalesBleed findings, bringing the discovery to the wider cybersecurity and enterprise technology community.

Supporting Data and Technical Mechanics

To fully comprehend the severity of SalesBleed, one must examine the technical interplay between Salesforce’s standard features and the capabilities of modern autonomous AI agents.

Weaponizing Web-to-Lead Forms

Web-to-Lead is a foundational tool for sales teams, allowing companies to generate HTML forms that prospective clients fill out on corporate websites. Data submitted through these forms automatically populates standard CRM fields such as name, email, company, and inquiry details.

In the SalesBleed scenario, attackers embedded hidden prompt injection payloads—strings of text specifically crafted to override an AI’s original system instructions—within these form fields. Because standard Web-to-Lead forms accept string inputs without checking for semantic intent, the malicious instructions were stored safely inside the CRM database as standard lead notes or descriptions.

Subverting AI Agent Operations

When an organization utilizes Agentforce, the AI routinely scans, categorizes, and summarizes incoming CRM leads to assist human sales representatives. When the agent encountered the poisoned lead record, it treated the embedded instructions as legitimate workflow directives.

The injected prompt instructed the agent to execute specific subagent tools, such as the Query Records tool. This utility possesses broad access within a typical CRM deployment, granting visibility into accounts, contact lists, financial metrics, and active deal pipelines.

Bypassing Trusted URLs and Redaction Controls

Salesforce implements strict outbound security controls, notably "Trusted URLs" and redirection safeguards, designed to prevent data leakage through malicious links or unauthorized external API calls. However, Zenity Labs discovered that the Agentforce implementation could be manipulated to encode extracted data directly into outbound requests that skirted these filters.

Specifically, the payload utilized DNS-based exfiltration. By forcing the AI agent to make DNS lookups to an attacker-controlled domain name server, the sensitive data (such as company names and deal valuations) was appended as subdomains within the DNS query (e.g., [SensitiveData].attacker-controlled-domain.com).

Because DNS traffic is foundational to internet connectivity and rarely blocked or deeply inspected by standard application-layer URL redaction controls, the data slipped out of the corporate perimeter silently and instantly.


Official Responses and Industry Implications

The disclosure of SalesBleed has triggered vital conversations regarding the security responsibilities of both enterprise software vendors and the organizations deploying AI solutions.

Salesforce’s Remediation

Upon receiving the disclosure from Zenity Labs, Salesforce acted decisively to address the architectural gap. By updating their URL redaction and outbound filtering mechanisms on August 18, 2024, they closed the loop that permitted DNS-based data exfiltration. Users of Agentforce are protected against this specific attack vector, provided their environments are up to date.

The Broader Risk Pattern: AI’s Inherent Vulnerability

Despite the patch, Zenity Labs has issued a stark warning: SalesBleed is not an isolated anomaly, but a symptom of a systemic architectural pattern.

In their post-disclosure analysis, the researchers emphasized that any AI agent sharing a specific set of characteristics is inherently vulnerable to similar indirect prompt injection exploits:

  1. It reads or processes records, files, or messages submitted by external, untrusted sources (e.g., web forms, customer emails, support tickets).
  2. It renders rich content, images, or links back to users or external systems.
  3. It holds direct tool access to sensitive backend databases, APIs, or enterprise data stores.

When these three ingredients converge, a latent path for prompt injection-driven exfiltration is established. As Zenity noted, while their specific proof-of-concept targeted company names and deal sizes, a more aggressive attacker could leverage the same methodology to access any data reachable by the agent’s underlying query tools—including personally identifiable information (PII), proprietary financial data, and confidential intellectual property.


Strategic Implications for Enterprise Security Leaders

As generative AI transitions from experimental deployments to core enterprise infrastructure, the discovery of SalesBleed offers critical lessons for Chief Information Security Officers (CISOs) and IT administrators.

1. Zero Trust Must Apply to AI Inputs

Organizations must abandon the assumption that text ingested by automated systems is benign simply because it originates from a standard business channel like a contact form or a customer support ticket. In the era of LLMs, data is code. Input sanitization must evolve beyond SQL injection and Cross-Site Scripting (XSS) prevention to include semantic intent filtering and prompt injection detection.

2. Principle of Least Privilege for AI Agents

Just as human users should not be granted broad administrative access by default, autonomous AI agents must operate under strict least-privilege guardrails. An agent tasked with processing inbound leads does not inherently require broad query access to high-value financial records or unrelated departmental databases. Scoping tool access minimizes the "blast radius" should an agent’s behavior be successfully hijacked.

3. Rigorous Monitoring of Outbound Traffic

Traditional network security monitoring often overlooks the covert channels through which data can leave an organization. As demonstrated by the DNS exfiltration technique in SalesBleed, attackers will leverage non-traditional protocols to bypass web filters. Security teams must implement robust egress monitoring and anomaly detection tailored to identify unusual patterns in DNS queries, API calls, and outbound data flows originating from AI workloads.


Conclusion

The "SalesBleed" vulnerability represents a landmark case study in the intersection of artificial intelligence and enterprise cybersecurity. While Salesforce’s rapid response successfully neutralized this specific zero-click threat, the underlying architectural challenge remains a defining hurdle for the modern tech industry.

As enterprises continue to delegate complex operational workflows to autonomous agents, securing the boundaries between untrusted external inputs and sensitive internal data repositories will remain paramount. Without rigorous input validation, strict least-privilege tool access, and comprehensive egress monitoring, the very tools designed to drive business efficiency may inadvertently become the most efficient channels for data exfiltration.

Back To Top