Bears Backup <= 2.0.0 - Unauthenticated Remote Code Execution

9.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2025-5396
CVSS 9.8 (Critical)
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.

Wordfence blocked 1 attacks targeting this vulnerability in the past 24 hours.

References

Share

Vulnerability Details for Bears Backup

Software Type Plugin
Software Slug bears-backup
Patched? Yes
Remediation Update to version 2.1.0, or a newer patched version
Affected Version
  • <= 2.0.0
Patched Version
  • 2.1.0

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation