# CVE-2026-4020: Gravity SMTP - Information Disclosure

> Live exploitation tracking for CVE-2026-4020 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2026-4020

## Key facts

- **Exploitation phase:** Background Noise. Continuous low-level scanning or exploitation attempts are observed, mostly opportunistic and automated.
- **CVSS score:** 7.5
- **Public exploit available:** Yes
- **Affected products:** RocketGenius Gravity SMTP
- **Weaknesses:** CWE-201 (Insertion of Sensitive Information Into Sent Data)
- **Tags:** wordpress, cms

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

## CrowdSec analysis

[CVE-2026-4020](https://euvd.enisa.europa.eu/vulnerability/CVE-2026-4020) is an information disclosure vulnerability in the Gravity SMTP plugin for WordPress, affecting all versions up to and including 2.1.4. Due to improper REST API permissions, unauthenticated attackers can access a system report containing sensitive configuration data such as PHP and web server versions, database details, active plugins, themes, and even API keys or tokens. This exposure significantly increases the risk of targeted attacks, reconnaissance, and further exploitation of the affected WordPress site.

CrowdSec has been tracking this vulnerability and its exploits since 22nd of May 2026.

CrowdSec network data shows that most actors exploiting CVE-2026-4020 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature.
Telemetry from the CrowdSec network also shows that exploitation activity for CVE-2026-4020 remains steady week-over-week. Attack volumes are consistent with long-term trends, indicating sustained interest from threat actors. CVE-2026-4020 continues to be an active part of the threat landscape and will likely remain this way for the forseeable future.

Attackers exploit the unrestricted REST API endpoint `/wp-json/gravitysmtp/v1/tests/mock-data` to retrieve sensitive system configuration data from vulnerable WordPress sites running the Gravity SMTP plugin. This endpoint is targeted with unauthenticated GET requests, exposing detailed information that could facilitate further attacks.

## Timeline

- 2026-03-31: CVE Published. CVE-2026-4020 is published to NVD.
- 2026-05-22: Rule Released. CrowdSec releases a rule to detect CVE-2026-4020 exploitation attempts against the CrowdSec Network.
- 2026-05-27: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2026-4020 for the first time.

## References

- https://docs.gravitysmtp.com/gravity-smtp-changelog/
- https://www.gravityforms.com/gravity-smtp/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4020.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2026-4020) follows observed exploitation activity for CVE-2026-4020. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
