Attackers Exploit Gravity SMTP Flaw to Expose API Keys

Summary
CVE-2026-4020 lets unauthenticated attackers retrieve sensitive data from Gravity SMTP’s REST API. Wordfence reports more than 17 million blocked exploit attempts and advises updating to version 2.1.5 and rotating exposed credentials.
Key points
- CVE-2026-4020 is an information disclosure flaw in the Gravity SMTP WordPress plugin, installed on about 100,000 sites.
- Unauthenticated attackers can query a REST API endpoint to retrieve a system report containing configuration details and potentially API keys, secrets, and OAuth tokens.
- Wordfence reports blocking more than 17 million exploit attempts, with activity beginning in early May 2026 and surging around June 6.
- The vulnerability is patched in Gravity SMTP version 2.1.5.
- Site owners are advised to update, rotate credentials for configured third-party email integrations, and review server logs for suspicious endpoint requests.
Article Details
- Vulnerability Types
- Information disclosure
- Severity
- Medium (CVSS 5.3)
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- available
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| IPV4 | 173[.]199[.]90[.]188 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 176[.]65[.]148[.]139 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 176[.]65[.]148[.]30 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 185[.]8[.]106[.]145 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 185[.]8[.]106[.]37 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 185[.]8[.]106[.]92 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 185[.]8[.]107[.]155 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 193[.]32[.]162[.]60 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 45[.]148[.]10[.]120 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
| IPV4 | 45[.]148[.]10[.]95 | Source-listed origin of exploit attempts targeting CVE-2026-4020. |
MITRE ATT&CK
CVE
Vendors
Products
Gravity SMTPThreat actors are actively exploiting CVE-2026-4020 in Gravity SMTP, a WordPress plugin used on about 100,000 sites, to steal sensitive configuration data, API keys, secrets, and OAuth tokens.WordPressThreat actors are actively exploiting CVE-2026-4020 in Gravity SMTP, a WordPress plugin used on about 100,000 sites, to steal sensitive configuration data, API keys, secrets, and OAuth tokens.
