๐Ÿ” CVE Alert

CVE-2026-4020

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-200
Vendor rocketgenius
Product gravity smtp
Published Mar 31, 2026
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for rocketgenius gravity smtp

Be the first to know when new high vulnerabilities affecting rocketgenius gravity smtp are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

RocketGenius / Gravity SMTP
0 โ‰ค 2.1.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/12a296db-ecc0-409b-8718-0c208504053a?source=cve gravityforms.com: https://www.gravityforms.com/gravity-smtp/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php#L86 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php#L86 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php#L103 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php#L103 docs.gravitysmtp.com: https://docs.gravitysmtp.com/gravity-smtp-changelog/

Credits

Osvaldo Noe Gonzalez Del Rio