Attackers Exploit Gravity SMTP Flaw to Expose WordPress System Data

Summary
Attackers have exploited CVE-2026-4020 in Gravity SMTP for WordPress since early May, exposing system details and configured API credentials through an unauthenticated REST endpoint. Defiant reports over 17 million blocked attempts; update to 2.1.5 and rotate affected-
Key points
- Gravity SMTP versions before 2.1.5 are affected by CVE-2026-4020, a medium-severity sensitive information exposure flaw.
- An unauthenticated REST API endpoint can return a system report containing software, configuration, database, plugin, and theme details, as well as configured API keys and tokens.
- Defiant says attackers have exploited the flaw since early May using unauthenticated GET requests; it observed an attack surge in June.
- Defiant reports blocking more than 17 million exploit attempts.
- Update Gravity SMTP to version 2.1.5 and check server access logs for requests to the affected endpoint.
- Defiant recommends rotating third-party email integration credentials after updating, because associated keys, secrets, and OAuth tokens may have been exposed.
Article Details
- Vulnerability Types
- Unauthenticated sensitive information exposure through a REST API endpoint
- Severity
- Medium (CVSS 5.3)
- Affected Versions
- Gravity SMTP versions before 2.1.5
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- available
MITRE ATT&CK
T1082 · System Information DiscoveryAttackers retrieve the endpoint's system report, which includes software versions, loaded extensions, web server details, and configuration information.T1190 · Exploit Public-Facing ApplicationAttackers exploit the unauthenticated Gravity SMTP REST API endpoint on vulnerable WordPress sites.
CVE
Products
Gravity SMTPThreat actors are exploiting a medium-severity vulnerability in the Gravity SMTP WordPress plugin to steal complete system details, Defiant warns.WordPressThreat actors are exploiting a medium-severity vulnerability in the Gravity SMTP WordPress plugin to steal complete system details, Defiant warns.
