Skip to content

CVE-2026-87909 WP Photo Album Plus <= 9.2.09.002 - Authenticated (Subscriber+) Remote Code Execution via Multipart Upload Filename via ImageMagick Argument Injection

HighCVSS 7.5 EPSS 0.91%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
WordPress

Description

The WP Photo Album Plus plugin for WordPress is vulnerable to Remote Code Execution in all versions via the wppa_image_magick function. This is due to insufficient sanitization of the multipart upload filename before concatenation into an ImageMagick command string executed via exec(), with only escapeshellcmd() applied to the whole command rather than quoting individual arguments. This makes it possible for authenticated attackers, with subscriber-level access and above, to execute code on the server. escapeshellcmd() escapes shell metacharacters but does not prevent argument injection because spaces remain as argument separators, and the filename sanitization applied at the database layer is never applied to the physical temporary file path used for ImageMagick processing.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
opajaap WP Photo Album Plus <= 9.2.09.002 after 9.2.09.002 Fixed
wordpress wp-photo-album-plus(WordPress) < 9.3.01.003 9.3.01.003 Fixed

Affected products

ProductAffected versionsFixed in
opajaap WP Photo Album Plus <= 9.2.09.002 No fix listed
wordpress wp-photo-album-plus(WordPress) < 9.3.01.003 9.3.01.003

References