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

Published Sep 19, 2026
·
Updated

The WP Photo Album Plus plugin for WordPress is vulnerable to Remote Code Execution in all versions via the wppaimagemagick 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.

Affected Software

1 affected component
WordPress WP Photo Album Plus<=9.2.09.002

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WordPress WP Photo Album Plus to a version that resolves this vulnerability.

    Fixed in 9.2.09.002Patch WP Photo Album Plus <= 9.2.09.002 - Authenticated (Subscriber+) Remote Code Execution via Multipart Upload Filename via ImageMagick Argument Injection
  2. Compensating control

    Restrict WordPress login access so that only trusted roles can upload images / use multipart upload features (the issue is exploitable by authenticated attackers with subscriber-level access and above).

Event History

Sep 19, 2026
CVE Published
via MITRE·02:27 AM
Data Sourced
via MITRE·02:27 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

An attacker must be authenticated to WordPress with at least Subscriber-level access. No user interaction is required once the attacker has the necessary account access.

2

What conditions are required for exploitation?

The attacker needs to submit a multipart upload with a crafted filename that reaches the plugin's ImageMagick processing path. Exploitation relies on argument injection through the physical temporary-file path used in the ImageMagick command.

3

Are installations using the affected plugin exposed by default?

The available data identifies the vulnerable code in the plugin's ImageMagick processing function, but does not state whether ImageMagick processing is enabled or invoked in the default configuration. Exposure depends on whether attacker-controlled uploads can be processed through that path.

4

How can administrators assess whether their site is affected?

Check whether WP Photo Album Plus is installed and whether its version is 9.2.09.002 or earlier. Also review whether Subscriber-or-higher users can upload files that are processed by the plugin using ImageMagick.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203