CVE-2026-86787

Affiliate Toolkit 3.8.7 - 3.9.0 - Contributor+ RCE via BladeOne @php Directive

Published Oct 14, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The affiliate-toolkit WordPress plugin before 3.9.1 does not prevent a low-privileged user from supplying a template body that its bundled templating engine compiles and executes as PHP, allowing users with the Contributor role or above to run arbitrary PHP code on the server.

Analysis

AI-generated

Technical impact

A low‑privileged WordPress user with the Contributor role can supply a custom template body to the Affiliate Toolkit plugin, which the bundled BladeOne templating engine compiles and executes as PHP. This code injection flaw (CWE‑94) allows attackers to run arbitrary PHP code on the server, potentially compromising the confidentiality, integrity, and availability of the site.

Affected Systems

WordPress installations running Affiliate Toolkit versions 3.8.7 through 3.9.0 are affected. The issue stems from the plugin’s templating engine and is independent of specific WordPress core releases. Current releases of the plugin after version 3.9.1 are not vulnerable.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity, while the EPSS score of less than 1 % shows a low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is web‑based; it is inferred that an attacker with Contributor permissions can craft a malicious template through the plugin’s admin interface or an exposed endpoint, resulting in server‑side execution of PHP code. This inference is drawn from the description that a low‑privileged user can supply a template body, but the exact pathway is not explicitly documented in the data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Affiliate Toolkit to version 3.9.1 or later
  • Restrict Contributor accounts from accessing the plugin’s template editor until the upgrade is applied
  • If an immediate upgrade is not possible, uninstall or disable Affiliate Toolkit entirely

Generated by OpenCVE AI on October 16, 2026 at 00:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions affiliate-toolkit
Vendors & Products Wordpress-extensions
Wordpress-extensions affiliate-toolkit
Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description The affiliate-toolkit WordPress plugin before 3.9.1 does not prevent a low-privileged user from supplying a template body that its bundled templating engine compiles and executes as PHP, allowing users with the Contributor role or above to run arbitrary PHP code on the server.
Title Affiliate Toolkit 3.8.7 - 3.9.0 - Contributor+ RCE via BladeOne @php Directive
References
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 14, 2026, 1:42 PM
Reserved
Sep 8, 2026, 11:51 AM
Status
Deferred
Published
Oct 14, 2026, 7:17 AM
Modified
Oct 14, 2026, 4:14 PM