CVE-2026-4020: Gravity SMTP (WordPress plugin) · Information Exposure
Affects Gravity SMTP (WordPress plugin)Source CVE Database V5
Not known to be exploited · public detection template (Nuclei) · 73% EPSS · CVSS 7.5 High.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 73.7% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Mar 2026
Detectable: evidence found.
nuclei template: Gravity SMTP WordPress Plugin - Sensitive Information Exposure
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RocketGeniusGravity SMTP | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, restrict access to the vulnerable REST API endpoint by disabling or limiting access to the Gravity SMTP plugin's REST routes, or remove the plugin if not in use. Monitor vendor channels for updates and apply patches promptly once released.
Description
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.
References
- wordfence.com/threat-intel/vulnerabilities/id/12a296db-ecc0-409b-8718-0c208504053a?source=cve (opens in a new tab)
- gravityforms.com/gravity-smtp/ (opens in a new tab)
- plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php (opens in a new tab)
- docs.gravitysmtp.com/gravity-smtp-changelog/ (opens in a new tab)