Attackers Exploit Gravity SMTP Flaw to Expose API Keys

· Original article ↗

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

TypeIndicatorContext
IPV4173[.]199[.]90[.]188Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV4176[.]65[.]148[.]139Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV4176[.]65[.]148[.]30Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV4185[.]8[.]106[.]145Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV4185[.]8[.]106[.]37Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV4185[.]8[.]106[.]92Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV4185[.]8[.]107[.]155Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV4193[.]32[.]162[.]60Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV445[.]148[.]10[.]120Source-listed origin of exploit attempts targeting CVE-2026-4020.
IPV445[.]148[.]10[.]95Source-listed origin of exploit attempts targeting CVE-2026-4020.

MITRE ATT&CK

CVE

Vendors

Products

Related Articles