Patchfirst
CVE-2026-4020 Public exploit High · 7.5 EPSS 74.3%

Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API

No fixed version listed yet.Check the vendor advisory. References ↓

RocketGenius · Gravity SMTP

Summary

Gravity SMTP, the WordPress email-delivery plugin from RocketGenius, through version 2.1.4 exposes a REST API endpoint at /wp-json/gravitysmtp/v1/tests/mock-data whose permission check always passes, so it is open to any visitor. An unauthenticated attacker who sends a request to that endpoint with ?page=gravitysmtp-settings appended can retrieve the plugin's full System Report, including server, PHP, and WordPress versions, active plugins and theme, database details, and any API keys or tokens configured in the plugin, requiring no login or user interaction.

Official description · CVE.org

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.

Breakdown
72.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited the day it was disclosed. Public exploit code (PoC-in-GitHub) appeared 3 months after disclosure.

  1. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  2. Public exploit codePoC-in-GitHub+3 mo

Affected versions and fixes

as published in the CVE record

RocketGenius Gravity SMTP

Affected: <= 2.1.4

What security researchers reported

Not named in any threat report yet

Also mentioned in 13 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close