Wednesday, September 16, 2026

Hackers Exploit WordPress SMTP Plugin With 100,000+ Installs to Steal Sensitive Data

Threat actors are actively exploiting a critical security flaw in the widely used Gravity SMTP WordPress plugin to extract sensitive configuration data, including API keys and authentication tokens.

The vulnerability, tracked as CVE-2026-4020 with a CVSS score of 5.3, affects all versions up to and including 2.1.4 and exposes more than 100,000 websites to potential compromise.

WordPress SMTP Plugin Flaw

The issue stems from an improperly secured REST API endpoint, “/wp-json/gravitysmtp/v1/tests/mock-data,” which lacks authentication checks because its permission_callback always returns true.

This misconfiguration allows unauthenticated attackers to invoke the endpoint and retrieve a comprehensive system report by appending the query parameter “?page=gravitysmtp-settings.”

The response contains approximately 365 KB of JSON data, including sensitive environment details such as PHP version, active plugins, database configuration, and, most critically, API credentials for third-party email services.

Wordfence revealed that the exposed data may include OAuth tokens and API keys for services such as Amazon SES, Google, Mailjet, Zoho, and Resend.

This enables attackers to hijack email functionality, impersonate legitimate domains, or pivot further into targeted attacks using reconnaissance data. The vulnerability was responsibly disclosed on March 30, 2026, after the vendor released a patched version, 2.1.5, on March 17, 2026.

Despite its moderate CVSS rating, exploitation has surged significantly in recent weeks. According to telemetry data, the Wordfence firewall has blocked more than 17 million attack attempts.

Malicious API Request Successfully Blocked (Source: wordfence)
Malicious API Request (Source: wordfence)

The most intense activity occurred between June 7 and June 11, 2026, with a peak of over 4 million blocked requests recorded on June 7 alone. The attack requires only a single unauthenticated HTTP GET request, making it trivial to exploit at scale.

A typical attack request observed in the wild targets the vulnerable endpoint with the required query string, prompting the server to return sensitive configuration data without any authentication barrier. This simplicity has contributed to widespread scanning and automated exploitation campaigns across the internet.

In response to active exploitation, Wordfence deployed firewall protections to premium users on May 5, 2026, with free users receiving coverage on June 4, 2026.

Notably, the firewall rule was introduced outside the standard disclosure workflow after researchers observed real-world attack activity escalating beyond initial severity assessments.

Indicators of Compromise (IOCs)

Below are key indicators associated with exploitation attempts:

TypeIndicatorDescription
URL path/wp-json/gravitysmtp/v1/tests/mock-dataVulnerable Gravity SMTP REST API endpoint targeted by attackers
URL (full)/wp-json/gravitysmtp/v1/tests/mock-data?page=gravitysmtp-settingsExploit request used to dump full System Report JSON including credentials
IP address45.148.10.95Source of over 642,000 blocked exploit attempts
IP address193.32.162.60Source of over 586,000 blocked exploit attempts
IP address176.65.148.139Source of over 539,000 blocked exploit attempts
IP address173.199.90.188Source of over 460,000 blocked exploit attempts
IP address45.148.10.120Source of over 410,000 blocked exploit attempts
IP address185.8.107.155Source of over 404,000 blocked exploit attempts
IP address185.8.106.37Source of over 399,000 blocked exploit attempts
IP address185.8.106.92Source of over 394,000 blocked exploit attempts
IP address185.8.106.145Source of over 387,000 blocked exploit attempts
IP address176.65.148.30Source of over 384,000 blocked exploit attempts
HTTP methodGETMethod used in exploitation of the REST API endpoint
User-AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36Example User-Agent observed in exploit traffic
Affected pluginGravity SMTP (gravitysmtp)WordPress SMTP plugin abused to exfiltrate sensitive configuration and credentials
Affected versions<= 2.1.4Vulnerable versions exposed to unauthenticated data theft
Patched version2.1.5Fixed release that closes the sensitive information exposure

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Additionally, defenders should monitor for suspicious requests to:

  • /wp-json/gravitysmtp/v1/tests/mock-data?page=gravitysmtp-settings

Because the vulnerability does not modify files or inject payloads, traces of compromise may only exist in web server access logs.

Security experts strongly advise administrators to update to Gravity SMTP version 2.1.5 or later immediately. In addition, any exposed API keys, secrets, or OAuth tokens should be considered compromised and rotated without delay.

Organizations that leverage affected installations should also review logs for anomalous access patterns and restrict unauthorized API access.

This incident underscores how seemingly low-severity vulnerabilities can escalate into high-impact threats when sensitive data is exposed, particularly on widely deployed platforms like WordPress.

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Google Search Makes It Harder to See Where a Link Really Goes Before You Click

Google has begun routing some organic Search result links...

Phishing Attacks Abuse Trusted Email Infrastructure and URL Cloaking to Evade Security Filters

Phishing operators are increasingly shifting away from malware-laden attachments...

Hackers Actively Exploit Critical WooCommerce Plugin Vulnerability to Upload PHP Backdoors

Threat actors are actively exploiting a critical vulnerability in...

Weekly Cybersecurity Newsletter – Top 50 Biggest Cybersecurity Stories of the Week

Microsoft Patches 973 CVEs, Claude Agents Automate Attacks, China...

WordPress Events Calendar Vulnerabilities Let Hackers Take Over 600,000 Websites

Two critical unauthenticated vulnerability chains in the widely used...

Telegram Desktop XSS Vulnerability Lets Attackers Steal Entire Chat Histories

A stored cross-site scripting (XSS) vulnerability in Telegram Desktop...

Marimo RCE Flaw Lets Hackers Steal AWS Credentials and Pivot to Bastion Host in 8 Seconds

A threat actor exploited a critical pre-authentication remote code...

Related Articles

Recent News