Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API
RocketGenius · Gravity SMTP
Higher than 99% of scored CVEs
DescriptionNVD
The Gravity SMTP plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.1.4. This is due to a REST API endpoint registered at /wp-json/gravitysmtp/v1/tests/mock-data with a permission_callback that unconditionally returns true, allowing any unauthenticated visitor to access it. When the ?page=gravitysmtp-settings query parameter is appended, the plugin's register_connector_data() method populates internal connector data, causing the endpoint to return approximately 365 KB of JSON containing the full System Report. This makes it possible for unauthenticated attackers to retrieve detailed system configuration data including PHP version, loaded extensions, web server version, document root path, database server type and version, WordPress version, all active plugins with versions, active theme, WordPress configuration details, database table names, and any API keys/tokens configured in the plugin.
Coverage2 articles · 2 outlets
One row per outlet, in order of first report. First in our coverage: SecurityOnline, 17 Jun.
- Wed 17 Jun, 20:12 UTC. SecurityOnline, first report. Critical flaw in Gravity SMTP (CVE-2026-4020) exposes API keys.
- Mon 22 Jun, 12:11 UTC. SecurityWeek, its first report on the story. Gravity SMTP Plugin Flaw (CVE-2026-4020) Exposes Site Data.
- First report
- Article
- Running total
Show as tableHide table
| Published (UTC) | Outlet | Headline |
|---|---|---|
| 17 Jun 20:12 | SecurityOnline | Critical flaw in Gravity SMTP (CVE-2026-4020) exposes API keys |
| 22 Jun 12:11 | SecurityWeek | Gravity SMTP Plugin Flaw (CVE-2026-4020) Exposes Site Data |
- Critical flaw in Gravity SMTP (CVE-2026-4020) exposes API keysSecurityOnline · first in our coverage
New articles also arrive in the RSS feed.