CVE-2026-4020

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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.

Scores

What LogPulse has for it

How to mitigate it

Update Gravity SMTP past 2.1.4 and rotate its API keys

Patch or upgrade. Gravity SMTP up to 2.1.4 returns the full system report, including configured mail API keys, to anyone at tests/mock-data. Updating closes the route; keys that may have leaked must be replaced.

Applies to: Gravity SMTP for WordPress 2.1.4 and earlier.

  1. In WordPress go to Plugins and update Gravity SMTP to the latest version (later than 2.1.4).
  2. In the mail provider console (SendGrid, Mailgun, Postmark or other) create a new API key and remove the old one.
  3. Enter the new key in Gravity SMTP settings and send a test email.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse