# CVE-2026-4020: Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 74.6%, higher than 99% of CVEs (2026-12-01)
- Published: 2026-03-31T01:24:57.221Z
- Modified: 2026-06-17T10:55:52.033Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- RocketGenius Gravity SMTP: up to 2.1.4

## References

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

## Sources

- CVE List: [CVE-2026-4020](https://www.cve.org/CVERecord?id=CVE-2026-4020), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-4020](https://nvd.nist.gov/vuln/detail/CVE-2026-4020), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4020 · Whole record: https://cve.day/CVE-2026-4020.json · Rebuilt by cve.day 2026-11-25T22:59:17.549Z
