CVE-2026-4020: Gravity SMTP WordPress Plugin - Sensitive Information Exposure
- Cve: CVE-2026-4020
- Name: Gravity SMTP WordPress Plugin - Sensitive Information Exposure
- 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.
- Impact: Unauthenticated attackers can access detailed system and configuration data, potentially aiding further attacks or information leakage.
- Remediation: Update to the latest version beyond 2.1.4.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.74266
- Epss percentile: 0.99497
- Assignee: [email protected]
- Published at: 2026-03-31T02:15:59Z
- Age in days: 238
- Modified at: 2026-06-17T10:55:52Z
- Public exploits total: 3
- References total: 15
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4020
- Nvd status: deferred
- Checked, none or zero: patch available, public exploits capped, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-03-31 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2026-4020 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4020.yaml |
Hackerone
- Reports: 6
- Rank: 2538
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/faizdotid/CVE-2026-4020 | poc-in-github | 2026-06-30 |
| https://github.com/faizdotid/CVE-2026-4020.git | vulncheck-xdb | 2026-06-30 |
| https://github.com/HORKimhab/CVE-2026-4020 | poc-in-github | 2026-06-22 |
References
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-03-31
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2026-06-22
- Remote: yes
- Hackerone reports: 6
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, initial access since, exposed hosts