BackWPup – WordPress Backup & Restore Plugin <= 5.7.8 - Authenticated (BackWPup Admin+) OS Command Injection via Email Destination Sendmail Command

High 7.2 CWE-78Fixed in 5.7.9
ID
WPSEC-2026-4284
Plugin
BackWPup – WordPress Backup & Restore Plugin (backwpup)
Affected
all versions before 5.7.9
Remediation
Update to 5.7.9 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-01
Attack surface
BackWPup – WordPress Backup & Restore Plugin on WPSec AttackSurface
Fix released
Published

Description

The BackWPup – WordPress Backup & Restore Plugin plugin for WordPress is vulnerable to OS Command Injection via the email destination's 'Sendmail path' job setting in all versions up to, and including, 5.7.8, due to the stored command being passed unrestricted to Swift Mailer's sendmail transport, which runs it through a shell, while the character check before it only logged an error and did not stop execution. This makes it possible for authenticated attackers with the backwpup_jobs_edit capability (the plugin's 'BackWPup Admin' role, administrators on single sites, super admins on multisite) to execute arbitrary commands on the server when the job's email destination runs.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0