CVE-2025-5396 Bears Backup <= 2.0.0 - Unauthenticated Remote Code Execution
Unauthenticated attackers can execute arbitrary code on WordPress sites using the Bears Backup plugin due to missing capability checks and input validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-5396?
CVE-2025-5396 is a critical code injection vulnerability in Bearsthemes Bears Backup, published on 17 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Bears Backup plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.0.0. This is due to the bbackup_ajax_handle() function not having a capability check, nor validating user supplied input passed directly to call_user_func(). This makes it possible for unauthenticated attackers to execute code on the server which can be leverage to inject backdoors or create new administrative user accounts to name a few things. On WordPress sites running the Alone theme versions 7.8.4 and older, this can be chained with CVE-2025-5394 to install the Bears Backup plugin and achieve the same impact.
Weakness: CWE-94
Which versions are affected by CVE-2025-5396?
How do I fix CVE-2025-5396?
No fix has been published for CVE-2025-5396 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-5396 being exploited?
There is no known exploitation of CVE-2025-5396 in the wild and no public exploit code.
Sources
Also known as GHSA-mr9j-vgmq-cxhq.