CVE Tools

CVE-2026-4020

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

Published: Mar 31, 2026Updated: Apr 24, 2026 Sources: CVE List NVDCWE-200

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.

In plain language

AI Act now

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

Executive summary

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 affected, business impact
API keys and email credentials stolenAttacker can impersonate your domainSystem configuration reconnaissanceHigher chance of follow-on attacks

What to do now

  1. Check whether Gravity SMTP is installed on your WordPress site and identify its version.
  2. If Gravity SMTP is version 2.1.4 or older, plan an immediate upgrade to Gravity SMTP 2.1.5.
  3. After upgrading, verify that the suspicious public REST endpoint no longer returns the detailed “System Report” data without authentication.
  4. If you use Gravity SMTP credentials (API keys/OAuth tokens), rotate them in the plugin and any connected email services.
May need vendor / contractor work

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:NA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:NIntegrity
None
A:NAvailability
None

Weaknesses

Affected Products

RocketGenius
commercialaka rocketgenius gravityforms, gravity forms, gravity smtp

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Collection
View detailed technique mapping

References

and 4 more references View all →
6

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-4020 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows