CVE-2026-4020
Last modified
CVE-2026-4020 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 39.70% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4020?
How severe is CVE-2026-4020?
How do I fix CVE-2026-4020?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40194phpseclib is a PHP secure communications library. Starting i…3.7
- CVE-2026-40195Incus is a system container and virtual machine manager. In …6.5
- CVE-2026-40196HomeBox is a home inventory and organization system. Version…8.1
- CVE-2026-40197Incus is a system container and virtual machine manager. In …6.5
- CVE-2026-40198Net::CIDR::Lite versions before 0.23 for Perl does not valid…7.5
- CVE-2026-40199Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv…6.5
- CVE-2026-40200An issue was discovered in musl libc 0.7.10 through 1.2.6. S…8.1
- CVE-2026-40201@diplodoc/search-extension 1.0.0 through 3.x before 3.0.3 al…5.4
- CVE-2026-40208An attacker might be able to delay the processing of DoH3 qu…3.7
- CVE-2026-40209An attacker might be able to cause outgoing TCP connections …5.3
- CVE-2026-4021The Contest Gallery plugin for WordPress is vulnerable to an…8.1
- CVE-2026-40210An out-of-bounds read might happen when SetMacAddrAction is …4.8
Are you affected by CVE-2026-4020?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
