In November 2025 Salesforce detected unusual activity through Gainsight-published apps connected to customers' Salesforce orgs and, on 20 November, revoked those apps' OAuth tokens. Gainsight's CTO says the attacker held 285 Salesforce OAuth tokens issued between 2017 and August 2023, checked which still worked on 22 October 2025 and used them against customer orgs from 16 to 19 November. Customers that connected Gainsight should review Salesforce logs for the published indicators and rotate credentials stored in the affected objects.
| Disclosed | November 20, 2025 |
|---|---|
| Earliest known activity | October 22, 2025 |
| Affected | Gainsight, Salesforce, Gainsight connected app for Salesforce |
| Type | Token theft |
| Status | Resolved |
What was exposed
Salesforce OAuth tokens that customers had granted to the Gainsight integration, some issued as early as 2017, which stayed valid because they were never revoked or rotated. With them the attacker could call Salesforce APIs as the integration and read whatever data the connected app could reach. Salesforce says the activity may have allowed unauthorized access to some customers' Salesforce data; Gainsight says only a handful of customers had data affected. How the tokens were originally obtained is not established: Gainsight says they either leaked from its systems in the past or were harvested from external environments. Any credential stored in a reachable Salesforce object should be considered exposed.
Am I affected?
You are potentially affected if your Salesforce org had a Gainsight-published connected app installed before 20 November 2025, especially if its authorization dated from 2023 or earlier. Gainsight's CEO says Salesforce notified the handful of customers whose data was affected. Check Salesforce Event Monitoring and API logs from October through November 2025 for the IP address 3.239.45.43 (23 October), 104.3.11.1 (8 November), VPN and proxy addresses (Mullvad, Surfshark, Proton, Tor and others) on 16 to 19 November, and the user agents listed below. Salesforce says token revocation did not delete audit trail, Event Monitoring or API activity records, so the logs are still there to review.
What to do now
- Review Salesforce Event Monitoring, audit trail and API logs for the published IP addresses and user agents, and for any unexpected activity by the Gainsight integration user.
- If you find activity, identify which objects were queried and rotate every credential, API key or password stored in those records.
- Re-authorize Gainsight only if you still need it, and revoke old OAuth grants for any third-party app you no longer use.
- Set refresh-token expiry and IP restrictions on connected apps so a stolen token stops working.
Keys to rotate
Guides to the credentials this incident put at risk:
Timeline
- Gainsight says the attacker bulk-validated about 250 of the tokens to see which were still active. Source
- Salesforce's indicator window begins; it lists an AWS address seen on this date using a compromised Gainsight access token. Source
- Gainsight says Salesforce detected the activity after tokens were used to call Salesforce APIs against customer orgs from 16 November. Source
- Salesforce disconnects Gainsight-published apps, revokes their OAuth tokens and publishes a security advisory; it says there is no indication of a vulnerability in the Salesforce platform. Source
- Salesforce re-enables Gainsight integrations after remediation that Mandiant and CrowdStrike validated. Source
- Gainsight's CTO publishes an account: the newest token dated from August 2023, about 23% still existed in Gainsight's systems, and Mandiant found no evidence within the available year of logs that they came from Gainsight's systems. Source
Indicators
From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.
- IP addresses
3.239.45.43and104.3.11.1, plus VPN and proxy exit addresses from Salesforce's list. - User agents
python-requests/2.28.1,python-requests/2.32.3,python/3.11 aiohttp/3.13.1andSalesforce-Multi-Org-Fetcher/1.0, the last also seen in the Salesloft Drift activity.
Frequently asked questions
Am I affected by the Gainsight incident?
You are potentially affected if your Salesforce org had a Gainsight-published connected app installed before 20 November 2025, especially if its authorization dated from 2023 or earlier. Gainsight's CEO says Salesforce notified the handful of customers whose data was affected. Check Salesforce Event Monitoring and API logs from October through November 2025 for the IP address 3.239.45.43 (23 October), 104.3.11.1 (8 November), VPN and proxy addresses (Mullvad, Surfshark, Proton, Tor and others) on 16 to 19 November, and the user agents listed below. Salesforce says token revocation did not delete audit trail, Event Monitoring or API activity records, so the logs are still there to review.
What was exposed in the Gainsight incident?
Salesforce OAuth tokens that customers had granted to the Gainsight integration, some issued as early as 2017, which stayed valid because they were never revoked or rotated. With them the attacker could call Salesforce APIs as the integration and read whatever data the connected app could reach. Salesforce says the activity may have allowed unauthorized access to some customers' Salesforce data; Gainsight says only a handful of customers had data affected. How the tokens were originally obtained is not established: Gainsight says they either leaked from its systems in the past or were harvested from external environments. Any credential stored in a reachable Salesforce object should be considered exposed.
Which keys should I rotate?
Rotate any Salesforce credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.
Other oauth and api token theft
- GhostAction returns: fake security workflows pushed to 30,000+ repos to steal Actions secrets 2026-10-07
- Klue integration breach: a leaked GitHub PAT led to theft of customers' Salesforce OAuth tokens 2026-06-18
- GhostAction: malicious GitHub Actions workflows stole 3,325 CI secrets from 817 repositories 2025-09-05
- Salesloft Drift OAuth tokens were stolen and used to export Salesforce data and hunt for secrets 2025-08-21