SecurityContext

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

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-03-31—no

Nuclei templates

IdUrl
CVE-2026-4020https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4020.yaml

Hackerone

  • Reports: 6
  • Rank: 2538

Public exploits

UrlSourceAdded date
https://github.com/faizdotid/CVE-2026-4020poc-in-github2026-06-30
https://github.com/faizdotid/CVE-2026-4020.gitvulncheck-xdb2026-06-30
https://github.com/HORKimhab/CVE-2026-4020poc-in-github2026-06-22

References

UrlSourceTags
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4020.yamlnuclei_templateNuclei Template
https://www.f5.com/labs/articles/attackers-target-ai-development-platform-langflowvulncheckVulncheck Reported Exploitation
https://www.recordedfuture.com/blog/june-2026-cve-landscapevulncheckVulncheck Reported Exploitation
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2026-4020vulncheckVulncheck Reported Exploitation
https://www.wordfence.com/blog/2026/06/attackers-actively-exploiting-sensitive-information-exposure-vulnerability-in-gravity-smtp-plugin/vulncheckVulncheck Reported Exploitation
https://www.crowdsec.net/vulntracking-report/cve-2026-4020-gravity-smtp-information-disclosurevulncheckVulncheck Reported Exploitation
https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2026-4020vulncheckVulncheck Reported Exploitation
https://patchstack.com/database/wordpress/plugin/gravitysmtp/vulnerability/wordpress-gravity-smtp-plugin-2-1-4-unauthenticated-sensitive-information-exposure-via-rest-api-vulnerabilityvulncheckVulncheck Reported Exploitation
https://docs.gravitysmtp.com/gravity-smtp-changelog/nvd
https://plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravityforms/gravity-tools/src/Providers/class-config-collection-service-provider.php#L103nvd

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

Nuclei template