CVE-2026-87909 Details
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.
A remote code execution vulnerability has been identified in the WP Photo Album Plus plugin for WordPress, affecting all versions. The issue arises in the 'wppa_image_magick' function, where the multipart upload filename is inadequately sanitized before being added to an ImageMagick command string executed with 'exec()'. This flaw allows authenticated attackers with subscriber-level access and above to execute arbitrary code on the server. The vulnerability exists because 'escapeshellcmd()' only escapes shell metacharacters at a command level, leaving spaces as argument separators, and the filename sanitization applied at the database level does not extend to the physical temporary file path used for ImageMagick processing.
Users are advised to update the WP Photo Album Plus plugin to version 9.3.01.003 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 19, 2026CISA-ADP
Assessed Sep 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| WP Photo Album Plus | <= 9.2.09.002 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 19, 2026 | CVE Modified | CISA-ADP |
| Sep 19, 2026 | New CVE Received | [email protected] |
Volerion