CVE-2026-4020

HIGH EXPLOITED NUCLEI

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

Title source: cna
STIX 2.1

Exploitation Summary

CVE-2026-4020 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 2 public exploits from researchers including faizdotid, HORKimhab. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains a scanner for CVE-2026-4020, which targets the Gravity SMTP plugin's unauthenticated sensitive information exposure vulnerability. The scanner checks for the presence of specific markers in the JSON response from the vulnerable endpoint to determine if the target is affected.

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.

Exploits (2)

github SCANNER
by faizdotid · goinfoleak
https://github.com/faizdotid/CVE-2026-4020

This repository contains a scanner for CVE-2026-4020, which targets the Gravity SMTP plugin's unauthenticated sensitive information exposure vulnerability. The scanner checks for the presence of specific markers in the JSON response from the vulnerable endpoint to determine if the target is affected.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Gravity SMTP plugin <= 2.1.4
No auth needed
Prerequisites: Target must be running a vulnerable version of the Gravity SMTP plugin
mistral-large-3 · analyzed Jun 30, 2026 Full analysis →
github SUSPICIOUS
by HORKimhab · poc
https://github.com/HORKimhab/CVE-2026-4020

The repository lacks actual exploit code or technical details about CVE-2026-4020, instead providing generic setup instructions and a script to download external content. The README is filled with legal disclaimers but no vulnerability analysis.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none specified
mistral-large-3 · analyzed Jun 22, 2026 Full analysis →

Nuclei Templates (1)

Gravity SMTP WordPress Plugin - Sensitive Information Exposure
HIGHVERIFIEDby theamanrawat

Scores

CVSS v3 7.5
EPSS 0.4183
EPSS Percentile 98.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

VulnCheck KEV 2026-03-31
CWE
CWE-200
Status published
Products (1)
RocketGenius/Gravity SMTP < 2.1.4
Published Mar 31, 2026
Tracked Since Mar 31, 2026