Short answer
- First: check it isn’t a colleague, developer or plugin account.
- Look for hidden admins: some don’t show on the Users screen.
- Then: remove it, change every admin password and find what created it.
Is it really an attacker?
Some unfamiliar admin accounts are legitimate. Before deleting, rule these out:
- Another admin, your developer or your agency added it. Ask them.
- Your host added a support account. Some managed hosts do this automatically, for example WP Engine’s “wpengine” user.
- A plugin’s support team was given temporary access and the account was never removed.
Signs it is an attacker: nobody can explain it, the email address is random or on a free mail service, it was registered around the time problems started, or it has a name chosen to look official (“wpadmin”, “support2”, “siteadmin”).
Find hidden admin users
Go to Users and click Administrator above the list. Compare the number in brackets with the number of rows shown. If it says Administrator (3) but you can only see two, an account is being hidden from you. Newer malware changes the number too, so also run one of the checks below.
With SSH, this lists every administrator with plugins and themes switched off, so hiding code can’t interfere:
wp user list --role=administrator --skip-plugins --skip-themes \
--fields=ID,user_login,user_email,user_registered
Without SSH, run this in phpMyAdmin (change wp_ if your table prefix is different):
SELECT u.ID, u.user_login, u.user_email, u.user_registered
FROM wp_users u
JOIN wp_usermeta m ON m.user_id = u.ID
WHERE m.meta_key = 'wp_capabilities'
AND m.meta_value LIKE '%administrator%';
Also check Settings → General. If “Anyone can register” is ticked and the default role is Administrator, an attacker changed it so anyone can sign up as an admin. Set it back to Subscriber, and untick registration if you don’t need it.
October 2026: attacks that create a hidden admin
Since 4 October 2026, attackers have been planting hidden code through two form and shop plugins. Nothing happens until an administrator opens the infected order or form entry in wp-admin. The code then uses that admin’s login to install a fake plugin and add administrators, one of them hidden. Patchstack found it.
- Ninja Forms 3.15.3 and older (CVE-2026-94504). Update to 3.15.4 or later.
- WPC Product Bundles for WooCommerce 8.6.6 and older (CVE-2026-93836). Update to 8.6.7 or later.
Updating stops new attacks but doesn’t remove what was added. The free Moatline Malware Scanner (version 1.2.2 or later) checks for all of these signs, including administrators hidden from the Users screen. To check by hand, if either plugin was out of date after 4 October, look for:
- A plugin called “WP Smart Thumbnails” (folder
wp-smart-thumbnails) that you didn’t install. - Must-use plugins named
class-wp-token-validate.phporclass-wp-query-followed by 8 letters and numbers. The second one hides the extra admin from the Users screen. The installer backdates these files, so don’t trust their dates. - Admins with an
@wordpress.orgemail address and everyday names like support, updater, maintenance or backup. Use the database query above: the hidden one won’t show in Users. - Database options
fz_emer_done_v1andfz_emer_login_tokens. - Log entries for
imgcdn1.com, or requests towp-login.php?_wplogin=. That link logs the attacker in as your oldest administrator, so treat that admin’s password as stolen.
To clean up: delete the plugin folder and the must-use files over SFTP, delete the extra admins and the two options, then change every admin password and your security keys (see Lock the door). Source: Patchstack’s analysis.
Remove it safely
- Back up files and database first.
- Note the details (username, email, registration date). The date tells you roughly when the attacker got in.
- Delete the user under Users, and when asked, give their content to your own account. Then review that content and delete any spam. With SSH:
wp user delete ID --reassign=YOUR_ID. - Check application passwords. Open each real admin’s profile and scroll to Application Passwords. Revoke any you didn’t create: they let someone log in without the normal password.
If it keeps coming back
If the account reappears after you delete it, code on the site is recreating it. Look for:
- Must-use plugins in
wp-content/mu-plugins. They run automatically and don’t show in the normal Plugins list. - Fake plugins with official-sounding names you never installed.
- Theme files, especially
functions.php. - PHP files in the uploads folder. WordPress never puts code there.
With SSH, this finds files that create users, which few legitimate plugins need to do:
grep -rlE "wp_(create|insert)_user" wp-content --include=*.php
Some results will be normal (membership, shop and form plugins create customer accounts). Look closely at anything in mu-plugins, uploads, your theme or a plugin you don’t recognise.
The free Moatline Malware Scanner finds fake plugins, must-use plugin backdoors and PHP in uploads, and flags a few admin usernames known from past attacks. It can’t know which of your own admins are genuine, so the review above is still needed.
Lock the door
- Change every password: all WordPress admins, hosting, FTP and database.
- Generate new security keys in
wp-config.php, which logs everyone out, including the attacker. - Turn on two-step login for every admin, so a stolen password alone isn’t enough. Moatline includes it free.
- Find how they got in. Usually an outdated plugin (for example the recent Bricksforge and form plugin attacks) or a reused password. Update everything and remove what you don’t use.
- Scan for anything else they left. An attacker with admin access can install plugins and edit files. Our malware removal guide covers a full cleanup.
Don’t want to do this yourself? Our team cleans hacked WordPress sites every week: WordPress malware removal service, from $45, usually done within 24 hours.
Frequently asked questions
Can malware hide an admin user from the Users list?
Should I delete the user’s posts too?
The admin has a normal-looking name like “wpsupport”. Is it safe?
Is changing my password enough?
Scan your site for free
Moatline checks files, the database and page-builder content. Nothing changes unless you click a button.
More guides
- WordPress update failed: how to fix it safely
- Your WordPress site sends visitors to a fake Microsoft support page
- WordPress pages replaced by gambling spam: what we found and how to fix it
- “This site may be hacked” in Google: how to get the warning removed
- WordPress site redirecting to spam? How to find and fix it
- Host suspended your WordPress site for malware? What to do next