Hackers Exploit Gravity SMTP WordPress Plugin Flaw Exposing Credentials

Summary
Attackers are exploiting CVE-2026-4020 in Gravity SMTP, exposing sensitive data through an unauthenticated REST API endpoint. Wordfence reports blocking over 17 million attempts; a separate Avada Builder flaw has been patched.
Key points
- CVE-2026-4020 affects Gravity SMTP versions 2.1.4 and earlier; the plugin is used on more than 100,000 sites.
- An exposed REST API endpoint allows unauthenticated requests to retrieve a System Report that may contain API keys, OAuth tokens, email-service credentials, and system details.
- Wordfence says it blocked more than 17 million exploitation attempts; activity spiked on June 7.
- Gravity SMTP 2.1.5, released March 17, fixes the flaw.
- Access-log requests to `/wp-json/gravitysmtp/v1/tests/mock-data`, particularly with the `?page=gravitysmtp-settings` parameter, can indicate exploitation attempts.
- A separate unauthenticated path-traversal flaw, CVE-2026-8713, affects Avada Builder and can delete arbitrary files; version 3.15.4 fixes it. No active exploitation had been observed.
Article Details
- Vulnerability Types
- Unauthenticated information disclosure
- Path traversal enabling arbitrary file deletion
- Severity
- Medium for CVE-2026-4020; critical for CVE-2026-8713
- Affected Versions
- Gravity SMTP 2.1.4 and older
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- available
MITRE ATT&CK
CVE
CVE-2026-4020RocketGenius · Gravity SMTPThreat actors are actively exploiting CVE-2026-4020 in the Gravity SMTP WordPress plugin, which affects more than 100,000 sites and can expose sensitive API keys, OAuth tokens, and email service credentials.CVE-2026-8713themefusion · Avada (Fusion) BuilderWordfence has already blocked over 17 million attempts, while a separate critical flaw, CVE-2026-8713 in Avada Builder, can let attackers delete arbitrary files and potentially take over sites.
Vendors
Products
Avada BuilderWordfence has already blocked over 17 million attempts, while a separate critical flaw, CVE-2026-8713 in Avada Builder, can let attackers delete arbitrary files and potentially take over sites.Gravity SMTPThreat actors are actively exploiting CVE-2026-4020 in the Gravity SMTP WordPress plugin, which affects more than 100,000 sites and can expose sensitive API keys, OAuth tokens, and email service credentials.WordfenceWordfence has already blocked over 17 million attempts, while a separate critical flaw, CVE-2026-8713 in Avada Builder, can let attackers delete arbitrary files and potentially take over sites.WordPressThreat actors are actively exploiting CVE-2026-4020 in the Gravity SMTP WordPress plugin, which affects more than 100,000 sites and can expose sensitive API keys, OAuth tokens, and email service credentials.
