← Back to Vulnerability Reports CVE Intelligence

CVE-2026-4020

Gravity SMTP WordPress PluginHIGH · CVSS 7.5No exploitation reported

What is CVE-2026-4020?

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.

CVSS7.5 NVD 3.1
SeverityHIGH
ExploitationNo exploitation reported
EPSS3% · P86
Triage statusNo Known Exploit
ActionPatch this week
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWECWE-200
NVD published2026-03-31
NVD last modified2026-06-17

Affected product

Gravity SMTP WordPress Plugin

Remediation Steps

  1. Update Gravity SMTP plugin to the patched version immediately
  2. Review configuration files for exposed API keys and secrets
  3. Rotate all API keys, OAuth tokens, and sensitive credentials that may have been extracted
  4. Audit access logs for unauthorized API activity
  5. Implement access controls to restrict unauthenticated requests to plugin endpoints
🤖 This CVE page is generated by defend.network from NVD, CISA KEV, EPSS, and our verified daily briefings. Severity and exploitation data come from official sources; always verify remediation steps against the official vendor advisory before acting in production.

Get Critical CVE Alerts

Subscribe free and hear about actively exploited CVEs like this one first.