Bears Backup <= 2.0.0 - Unauthenticated Remote Code Execution

Improper Control of Generation of Code ('Code Injection')
CVE CVE-2025-5396
CVSS Critical (9.8)
Publicly Published July 16, 2025
Last Updated July 17, 2025
Researcher Trương Hữu Phúc (truonghuuphuc)
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.

References

1 affected software package

Software Type Plugin
Software Slug bears-backup (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.0.0
Patched Version
  • 2.1.0
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.