Skip to content
SENDLY by ACTIOSENDLY by ACTIO
Blog
Security6 min·

Urgent WordPress 7.0.2 update (wp2shell). What does it mean if you send SMS via an API?

On 17 July 2026 the WordPress team shipped an emergency release, 7.0.2 (along with 6.9.5 and 6.8.6), that patches a critical vulnerability dubbed wp2shell. It lets an attacker take over a site without logging in – a single HTTP request to an ordinary installation is enough. The threat is serious enough that WordPress.org has turned on forced automatic updates. If your store or company website runs on WordPress and sends SMS through our API, this post is for you – because it is not just your site at stake, but also your API token and your customers' numbers. On a related note: we are working on an official plugin that integrates SENDLY with WooCommerce, and we cover it below.

What wp2shell is and why it is urgent

wp2shell is a pre-auth RCE vulnerability – remote code execution without authentication. An attacker needs no account, no password and no plugin – a default WordPress installation is vulnerable. Technically it combines a routing flaw in the REST API endpoint /wp-json/batch/v1 with a SQL injection.

The vulnerability was discovered by Adam Kues of Assetnote (Searchlight Cyber), who reported it through WordPress's HackerOne program. The 17 July 2026 releases close two vulnerabilities at once:

  • CVE-2026-63030 – the main wp2shell chain (a REST API routing flaw that, together with SQL injection, leads to code execution),
  • CVE-2026-60137 – a SQL injection in the WP_Query component.

The Assetnote team published a public tester at wp2shell.com that checks whether your installation is vulnerable. Since the tool is out in the open, assume attackers are using it too – so every hour counts.

Which WordPress versions are affected

The vulnerable code only appeared in the 6.9 branch (December 2025), so older installations are safe from this specific flaw. That does not mean you can skip updating them.

Your versionUpdate to
7.0.0 – 7.0.17.0.2
6.9.0 – 6.9.46.9.5
6.8.x (backport)6.8.6
older than 6.9not vulnerable to wp2shell, but update as a matter of principle

You can check your version number in the WordPress dashboard (Dashboard → Updates) or in the footer of the admin panel.

Why this is a problem if you send SMS from WordPress

It is easy to think "it is just a website". But if you run your own integration on WordPress that sends SMS through the SENDLY API, somewhere in there – in wp-config.php, in the options table or in the plugin settings – sits your API token. With a vulnerability that grants code execution without logging in, an attacker can:

  • read your API token and send SMS at your expense – classic bill-running, often at night and to foreign numbers,
  • extract your customers' phone numbers from the orders database, which is personal data, with GDPR consequences,
  • alter the content of the messages you send, for example injecting a phishing link into your notifications.

In other words: a hole in WordPress is not just a website problem for you, but also a problem for your SMS budget and your customers' trust. That is why we treat this update as urgent for our users.

What to do now – step by step

1. Update WordPress to 7.0.2 (or 6.9.5 / 6.8.6). If you have automatic core updates enabled, it has probably already happened on its own – verify the version anyway.

2. Make a backup before updating and, if you have an unusual set of plugins, check compatibility on a test copy.

3. Can't update right away? Temporarily block anonymous access to the REST API, or specifically to the /wp-json/batch/v1 path, at your WAF (e.g. Cloudflare). That stops the attack vector before you apply the patch.

4. Test your installation at wp2shell.com after updating.

And now the SENDLY-specific part:

  • If there is any suspicion that the site was compromised – generate a new API token in the SENDLY panel. The old one stops working immediately, so the attacker loses access.
  • Keep the token in an environment variable or a secret, not in code committed to a repository.
  • Use our limits and daily caps – even if the token leaks, they cap the scale of potential abuse. That is the layer that saves your budget when everything else fails.

The official WooCommerce plugin from SENDLY is coming

This story is a good illustration of how much attention a self-built integration demands: someone has to maintain it, track WordPress core releases and react when a vulnerability like this appears. With everything else on your plate, it is easy to miss.

That is why we are working on an official plugin that integrates SENDLY with WooCommerce, and we will release it soon. It takes exactly this work off your hands:

  • secure token storage and a simple, secure connection instead of pasting keys by hand,
  • maintenance and compatibility with future WordPress and WooCommerce versions on our side – you get updates automatically,
  • ready-made SMS notifications for order statuses, without writing any code of your own.

If you send SMS today with your own solution, you lose nothing. But as soon as the SENDLY WooCommerce plugin is available, switching to it means one less problem to watch over with every update like this. We will let you know on the blog and in the panel when it launches.

In short

  • The critical wp2shell vulnerability (CVE-2026-63030) lets attackers take over WordPress without logging in – update to 7.0.2 / 6.9.5 / 6.8.6 immediately.
  • If you send SMS from WordPress through an API, your token and your customers' numbers are at stake – consider rotating the token after updating.
  • Enable limits and caps in SENDLY as a safety net.
  • Coming soon: the official SENDLY WooCommerce plugin that takes over maintaining the integration.

FAQ

Does the vulnerability affect me if I don't use WooCommerce?+

Yes. wp2shell sits in the WordPress core (a REST API endpoint), so it affects every site on a vulnerable version, regardless of plugins. WooCommerce is not a prerequisite here.

I have a WordPress older than 6.9 – am I safe?+

From this specific flaw, yes, because the vulnerable code only appeared in 6.9. But older versions have their own known holes, so update as a matter of principle.

Do I need to change my SENDLY API token?+

If there is any suspicion that the site was attacked before you patched it – yes. In the SENDLY panel you generate a new token, and the old one stops working immediately. If the update rolled out automatically and nothing points to a breach, rotation is optional, but it never hurts.

When will the SENDLY WooCommerce plugin be available?+

We are working on it and will release it soon. It will offer a secure connection instead of pasting the token by hand, plus ready-made SMS notifications for orders. We will announce the launch on the blog and in the panel.

Read next

Start sending SMS today.

100 free messages. No credit card. No subscription. Activation in 30 seconds.