CVE-2026-1357
JSON

9.8critical

Migration, Backup, Staging <= 0.9.123 - Unauthenticated Arbitrary File Upload

Severity
9.8critical CVSS:3.1 by Wordfence
Exploit likelihood
7.19% (higher than 95% of CVEs)
Published
Last changed
Assigned by
Wordfence

Description

The Migration, Backup, Staging – WPvivid Backup & Migration plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Upload in versions up to and including 0.9.123. This is due to improper error handling in the RSA decryption process combined with a lack of path sanitization when writing uploaded files. When the plugin fails to decrypt a session key using openssl_private_decrypt(), it does not terminate execution and instead passes the boolean false value to the phpseclib library's AES cipher initialization. The library treats this false value as a string of null bytes, allowing an attacker to encrypt a malicious payload using a predictable null-byte key. Additionally, the plugin accepts filenames from the decrypted payload without sanitization, enabling directory traversal to escape the protected backup directory. This makes it possible for unauthenticated attackers to upload arbitrary PHP files to publicly accessible directories and achieve Remote Code Execution via the wpvivid_action=send_to_site parameter.

Affected

Product or packageVersionsReported by
wpvividplugins WPvivid — Backup, Migration & Stagingup to 0.9.123CVE List

Classification

CWE-434

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

The Migration, Backup, Staging – WPvivid Backup & Migration plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Upload in versions up to and including 0.9.123. This is due to improper error handling in the RSA decryption process combined with a lack of path sanitization when writing uploaded files. When the plugin fails to decrypt a session key using openssl_private_decrypt(), it does not terminate execution and instead passes the boolean false value to the phpseclib library's AES cipher initialization. The library treats this false value as a string of null bytes, allowing an attacker to encrypt a malicious payload using a predictable null-byte key. Additionally, the plugin accepts filenames from the decrypted payload without sanitization, enabling directory traversal to escape the protected backup directory. This makes it possible for unauthenticated attackers to upload arbitrary PHP files to publicly accessible directories and achieve Remote Code Execution via the wpvivid_action=send_to_site parameter.

NVD (es)

El plugin Migration, Backup, Staging – WPvivid Backup &amp; Migration para WordPress es vulnerable a la carga arbitraria de archivos no autenticada en versiones hasta la 0.9.123 inclusive. Esto se debe a un manejo inadecuado de errores en el proceso de descifrado RSA combinado con una falta de saneamiento de ruta al escribir archivos cargados. Cuando el plugin no logra descifrar una clave de sesión usando openssl_private_decrypt(), no termina la ejecución y en su lugar pasa el valor booleano falso a la inicialización del cifrado AES de la biblioteca phpseclib. La biblioteca trata este valor falso como una cadena de bytes nulos, permitiendo a un atacante cifrar una carga útil maliciosa usando una clave de byte nulo predecible. Además, el plugin acepta nombres de archivo de la carga útil descifrada sin saneamiento, lo que permite el salto de directorio para escapar del directorio de copia de seguridad protegido. Esto hace posible que atacantes no autenticados carguen archivos PHP arbitrarios a directorios de acceso público y logren la ejecución remota de código a través del parámetro wpvivid_action=send_to_site.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/e5af0317-ef46-4744-9752-74ce228b5f37?source=cve
https://plugins.trac.wordpress.org/browser/wpvivid-backuprestore/trunk/includes/class-wpvivid-crypt.php#L58
https://plugins.trac.wordpress.org/browser/wpvivid-backuprestore/tags/0.9.122/includes/class-wpvivid-crypt.php#L58
https://plugins.trac.wordpress.org/browser/wpvivid-backuprestore/tags/0.9.123/includes/class-wpvivid-crypt.php#L58
https://plugins.trac.wordpress.org/browser/wpvivid-backuprestore/trunk/includes/customclass/class-wpvivid-send-to-site.php#L629
https://plugins.trac.wordpress.org/browser/wpvivid-backuprestore/tags/0.9.122/includes/customclass/class-wpvivid-send-to-site.php#L629
https://plugins.trac.wordpress.org/browser/wpvivid-backuprestore/tags/0.9.123/includes/customclass/class-wpvivid-send-to-site.php#L629
https://plugins.trac.wordpress.org/changeset/3448386/wpvivid-backuprestore#file1

Sources

SourceRecordLicence
CVE ListCVE-2026-1357 changed 2026-04-08CVE Terms of Use
NVDCVE-2026-1357 changed 2026-06-17Public domain