Remote Code Execution Vulnerability in WP Photo Album Plus Plugin for WordPress
CVE-2026-87909

7.5HIGH

Key Information:

Vendor

WordPress

Vendor
CVE Published:
19 September 2026

What is CVE-2026-87909?

The WP Photo Album Plus plugin for WordPress has a vulnerability that allows remote code execution through the wppa_image_magick function. This weakness arises from inadequate sanitization of the multipart upload filename prior to its integration into an ImageMagick command string executed via the exec() function. As a result, authenticated attackers with subscriber privileges or higher can execute arbitrary code on the server. The current implementation employs escapeshellcmd() on the entire command, failing to appropriately quote individual arguments, which leaves space-separated arguments open to injection. Furthermore, while some filename sanitization occurs at the database layer, this process does not extend to the physical temporary file path used for ImageMagick, creating an exploitable gap.

Affected Version(s)

WP Photo Album Plus 0 <= 9.2.09.002

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

daroo
.