CVE-2026-4020
Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API
No known exploitation. EPSS puts it in the 82nd percentile. No fix published yet.
What to do
No fixed build or workaround is published yet. Limit exposure and watch for a patch.
Steps
Written by AI from the record- Check whether Gravity SMTP is installed on your WordPress site and identify its version.
- If Gravity SMTP is version 2.1.4 or older, plan an immediate upgrade to Gravity SMTP 2.1.5.
- After upgrading, verify that the suspicious public REST endpoint no longer returns the detailed “System Report” data without authentication.
- If you use Gravity SMTP credentials (API keys/OAuth tokens), rotate them in the plugin and any connected email services.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordGravity SMTP WordPress plugin versions up to 2.1.4 have a REST page that anyone on the internet can open to pull sensitive site and email settings, so you should treat this as urgent if your site uses Gravity SMTP.
Unauthenticated Sensitive Information Exposure in Gravity SMTP (up to 2.1.4) via a publicly accessible REST API endpoint that returns a detailed JSON “System Report” (including API keys/OAuth tokens and server/config details) to any visitor without login.
If you're affected
- API keys and email credentials stolen
- Attacker can impersonate your domain
- System configuration reconnaissance
- Higher chance of follow-on attacks
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
2.2% chance of exploitation activity in the next 30 days, which ranks it in the 82nd percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
12 events over 177 days, from the signal feeds we watch.
- EPSS band changemoderate → lowepss band change
- EPSS band changelow → moderate
- EPSS band changelow → moderate
- EPSS band changelow → moderate
- EPSS band changemoderate → low
- EPSS band changelow → moderate
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored 7.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity NoneNo integrity impact
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- wordfence.com/threat-intel/vulnerabilities/id/12a296db-ecc0-409b-8718-0c208504053a?source=cve
- gravityforms.com/gravity-smtp/
- plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php
And 4 more references. See all after sign-in
In the news
- Уязвимость в WordPress-плагине Gravity SMTP эксплуатируют хакеры
- Attackers Exploit Gravity SMTP Plugin Flaw to Harvest Valuable WordPress Data
- ⚡ Weekly Recap: Browser Bugs, EDR Killers, TV Botnet, OpenBSD Flaw, Android Trojan, and More
- Hackers Exploit Gravity SMTP WordPress Plugin Bug to Expose API Keys
- Hackers exploit info disclosure bug in Gravity SMTP WordPress plugin
- Active Gravity SMTP Vulnerability Exploited in the Wild
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Gravity SMTP, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI