CVE-2026-4020
Confirmed PUBLISHEDGravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API
Not yet in CISA KEV
Recommended Action
Prioritize immediate patching and validate internet-facing exposure. Monitor for matching exploitation attempts in your environment.
At a Glance
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.
- CVE Published
- Mar 31, 2026
- Exploited Since
- Jun 12, 2026
- CVSS
- 7.5 High
- EPSS
- 39.7%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| RocketGenius |
Gravity SMTP
|
* to <= 2.1.4 |
Affected |
CVE References
- wordfence.com/threat-intel/vulnerabilities/id/12a296db-ecc... wordfence.com · CVE Record https://www.wordfence.com/threat-intel/vulnerabilities/id/12a296db-ec...
- gravityforms.com/gravity-smtp gravityforms.com · CVE Record https://www.gravityforms.com/gravity-smtp/
- plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityform... plugins.trac.wordpress.org · CVE Record https://plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/g...
- plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravit... plugins.trac.wordpress.org · CVE Record https://plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/ven...
- plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityform... plugins.trac.wordpress.org · CVE Record https://plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/g...
Show 2 more references
- plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravit... plugins.trac.wordpress.org · CVE Record https://plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/ven...
- docs.gravitysmtp.com/gravity-smtp-changelog docs.gravitysmtp.com · CVE Record https://docs.gravitysmtp.com/gravity-smtp-changelog/
Recommended Actions
- Prioritize immediate patching and validate internet-facing exposure. Monitor for matching exploitation attempts in your environment.
- Review sensor telemetry for request paths, attacker IPs, and payload patterns that may inform detection and exposure validation.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| KEVIntel First | 2026-06-12 00:35 UTC |
| Wordfence | 2026-06-17 10:28 UTC |
| The Shadowserver | 2026-07-09 00:00 UTC |
Operational indicators for this CVE are listed on the Detection tab.
Observed Exploitation Attempts
Exploitation attempts against this vulnerability observed first-hand by KEVIntel private honeypots over the last 30 days.
- Attempts Observed
- 217
- Unique Attacker IPs
- 112
- Attacker Countries
- 🇦🇹 🇧🇪 🇧🇬 🇨🇦 🇨🇭 🇩🇪 🇪🇪 🇫🇮 🇫🇷 🇬🇧 🇮🇳 🇳🇱 🇵🇪 🇷🇴 🇸🇬 🇺🇸 🇻🇳
- Sensors Observed
- 14
Exploitation Attempts Over the Last 31 Days
First observed (all time) 2026-06-12 00:35 UTC · Last observed 2026-07-11 07:15 UTC
See more exploitation detail
- Pro — sensor software/region breakdown and 24h/7d window summaries.
- Enterprise — raw attacker IPs, request paths, User-Agents, and payloads.
Indicators of Compromise (IoCs)
Attacker IP IoCs observed in KEVIntel sensors are available to Pro and Enterprise accounts on the Detection tab and through the Pro API.
Learn about Pro API accessObserved Detection Signals (30d)
Aggregate counts from KEVIntel sensor telemetry for this CVE.
- Distinct request paths
- 1
- Distinct User-Agents
- 100
The specific request paths and User-Agents attackers are using are available on Pro and Enterprise plans.
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4020.yaml | Jun 01, 2026 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
Supported Platforms
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users via the Pro API.
GET /api/v2/enterprise/virtual_patches?cve_id=CVE-2026-4020
Learn About Virtual PatchesCVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploitation Status
Exploited in the wild
Recorded 2026-06-17 10:28:34 UTC · Wordfence
Active exploitation observed
Recorded 2026-06-12 00:35:27 UTC · KEVIntel sensor
Proof of concept available
Recorded 2026-06-12 14:21:13 UTC · Nuclei Templates
Weaknesses (CWE)
-
Exposure of Sensitive Information to an Unauthorized Actor
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4020.yaml | Jun 01, 2026 |
Recent Mentions
TheHackerNews · Jun 20, 2026
Threat actors are exploiting a recently patched security flaw impacting Gravity SMTP, a WordPress plugin that's installed on about 100,000 sites. The vulnerability, tracked as CVE-2026-4020 (CVSS score: 5.3), is a medium-severity information disclosure flaw that can allow unauthenticated attackers to extract sensitive data, such as configuration data, API keys, secrets, and OAuth tokens
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2026-06-30 11:37:40 UTC · 0 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC 3 days ago00:00 UTC · 3 days ago
KEV confirmed by The Shadowserver
Exploitation attested by an external source
-
14:21 UTC 19 days ago14:21 UTC · 19 days ago
Virtual patch available
Compensating WAF rule available to block exploitation
-
10:28 UTC 25 days ago10:28 UTC · 25 days ago
KEV confirmed by Wordfence
Exploitation attested by an external source
-
14:21 UTC 29 days ago14:21 UTC · 29 days ago
Public PoC available
Public proof-of-concept code published
-
00:35 UTC 30 days ago00:35 UTC · 30 days ago
Observed by KEVIntel sensors
Evidence-backed exploitation signal
-
00:35 UTC 30 days ago00:35 UTC · 30 days ago
Indicators of compromise added (112)
Indicators of compromise recorded
-
15:34 UTC about 1 month ago15:34 UTC · about 1 month ago
Nuclei template available
Scanner coverage available
-
01:24 UTC 3 months ago01:24 UTC · 3 months ago
CVE published
Vulnerability disclosed publicly
-
19:55 UTC 4 months ago19:55 UTC · 4 months ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2026-4020
{
"cve_id": "CVE-2026-4020",
"title": "Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via RE...",
"affected_vendor": "RocketGenius",
"affected_product": "Gravity SMTP",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 7.5,
"epss_score": 0.39704,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": true
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}