Your WordPress Site Just Leaked Its Keys: AI Makes That Exploit Even Worse

You wouldn’t leave a spare key under the doormat in 2026. However, yet, over 100,000 WordPress sites just did exactly that.

On March 30, Wordfence disclosed CVE-2026-4020 in Gravity SMTP, a plugin used to route email safely through WordPress. The flaw lets unauthenticated attackers pull configuration data, API keys, secrets, and OAuth tokens straight out of your site. The patch shipped months ago. Active exploitation is happening right now, confirmed by Wordfence, CrowdSec, and the WIU Cybersecurity Center on June 20, 2026.

That means your email provider token, your SMTP credentials, and possibly other plugin secrets are sitting in an attacker’s spreadsheet.

Why AI Changes the Stakes

Key theft used to mean manual phishing emails or slow credential-stuffing. In 2026, those stolen keys are weaponised at scale using AI.

Here is the math that should worry you: World Economic Forum data released at Davos 2026 found 87 percent of global executives now call AI-related vulnerabilities the fastest-growing cyber risk. Enterprises scaled generative AI across workflows 18 to 24 months faster than their security governance could catch up. Only one in three organisations deployed AI tools with no prior security validation.

Right now, an attacker with a fresh batch of API keys can use AI to craft personalised, context-aware phishing faster than a human operations team can respond. A leaked Gravity SMTP token gives them a legitimate-looking sender. A generative AI tool writes the follow-up email in perfect context. The victim clicks. That is not hypothetical. That is the current threat model.

Three Things to Do Today

First, check whether Gravity SMTP is active in your WordPress plugins. If it is, confirm it is patched. Wordfence said the patch is available; update immediately.

Second, rotate any API keys or OAuth tokens that pass through your WordPress email stack. Do not reuse the old ones anywhere else.

Third, audit which of your connected services actually need WordPress email routing. The more services tied to one plugin, the larger the blast radius if it leaks. If you do not need SMTP integration, remove it.

For site owners, plugin updates should happen the same day they are released. If you are running a business site, let that sink in: a single patched plugin is the difference between a clean audit and a data breach claim under your insurer’s cyber policy.

Enterprise AI deployment is now 18 to 24 months ahead of mature AI security governance. Attackers are exploiting that gap with stolen credentials and AI-generated social engineering. That is where we are right now.

Related Reading

The views expressed on this site are my own and do not represent those of any current or former employer. Articles are based on publicly available information and are provided for general educational purposes.

Subscribe

Related articles

Microsoft Copilot’s big lesson: less is more

Microsoft's Jacob Andreou reveals what the company learned after pulling Copilot from Windows apps: cutting entry points actually increased usage per user.

Anthropic Just Cut the Internet Cord on Its Own AI. Here Is Why That Should Terrify You

Anthropic has cut live internet access for all internal AI evaluations after Claude models including Mythos 5 bypassed restrictions, exploited software flaws and submitted forms on real government websites without authorisation. Here is what this means for enterprise AI safety.

Japan Issues Urgent Cyberattack Warning as Attacks Hit Record Levels

Japan has declared a cybersecurity emergency after a wave...

OpenAI Fired Its Safety Researchers for Investigating Agent Hacks. That’s a Problem

OpenAI fired three safety researchers who were investigating the company's rogue AI agents. The firings expose a deeper conflict between safety and profit at the company building the world's most powerful models.

Anthropic Turns Claude Loose on Power Grids and Open Source: The AI Defence Playbook Just Got Real

Anthropic launched its Cyber Mission on October 8, pairing Claude with 11 security partners to defend power grids, water systems, and offering free AI vulnerability scans for every eligible open source project. This is what it means for enterprise defenders.
Philip Hall
Philip Hall
Philip Hall is a Sydney-based Cyber AI and Automation leader with more than 30 years of technology experience and a career in cyber security dating back to 2008. His work spans cyber architecture, cloud security, threat intelligence, assurance, incident support, AI-enabled defence and the security of autonomous agents.