# CVE-2026-6169: WordPress affiliate-toolkit remote code execution in BladeOne engine

Source: https://junglewise.ai/threats/cve-2026-6169-wordpress-affiliate-toolkit-remote-code-execution-in-bladeone  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-27. Updated: 2026-05-27  
License: CC BY 4.0 with a link back

CVE-2026-6169 · Severity: high · CVSS 7.2 · Published 2026-05-27

The affiliate-toolkit plugin for WordPress, which helps site owners manage affiliate marketing links and products, contains a security flaw that allows high-level users to run malicious code on the website's server. By exploiting this vulnerability, an attacker with Editor-level permissions or higher can take full control of the server, potentially leading to data theft, site defacement, or complete service disruption. This issue affects all versions of the plugin up to and including 3.8.5.

Vendors: [Affiliate-Toolkit](https://junglewise.ai/threats/vendors/affiliate-toolkit).

## Quick answers

**Is CVE-2026-6169 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-6169 being exploited in the wild.

**How severe is CVE-2026-6169?** High severity, with a CVSS score of 7.2, published 27 May 2026.

**Which products and versions are affected?** Affiliate-Toolkit up to, and including, 3.8.5.

**Is there a fix for CVE-2026-6169?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-6169 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-6169?** Check whether you run Affiliate-Toolkit at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The affiliate-toolkit WordPress plugin is vulnerable to Remote Code Execution (RCE) due to improper input validation within its templating system. Specifically, the plugin utilizes the BladeOne templating engine's runString() method, which processes user-provided template content and executes it as PHP code using eval() without adequate sanitization or sandboxing. An authenticated attacker with Editor-level privileges or higher can exploit this by injecting arbitrary PHP code into a plugin template. This vulnerability is tracked as CWE-94 (Improper Control of Generation of Code). The issue is present in all versions up to and including 3.8.5.

## Affected products

- affiliate-toolkit affiliate-toolkit up to, and including, 3.8.5

## Timeline

- 2026-05-27: advisory: Initial disclosure by Wordfence and NVD

## References

- [https://plugins.trac.wordpress.org/browser/affiliate-toolkit-starter/tags/3.8.5/includes/atkp_posttypes_template.php](https://plugins.trac.wordpress.org/browser/affiliate-toolkit-starter/tags/3.8.5/includes/atkp_posttypes_template.php)
- [https://plugins.trac.wordpress.org/browser/affiliate-toolkit-starter/tags/3.8.5/includes/helper/atkp_template_helper.php](https://plugins.trac.wordpress.org/browser/affiliate-toolkit-starter/tags/3.8.5/includes/helper/atkp_template_helper.php)
- [https://plugins.trac.wordpress.org/browser/affiliate-toolkit-starter/tags/3.8.5/lib/bladeone/BladeOne.php](https://plugins.trac.wordpress.org/browser/affiliate-toolkit-starter/tags/3.8.5/lib/bladeone/BladeOne.php)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/b6310a0c-5a96-4dbc-940e-025c9b907c7d?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/b6310a0c-5a96-4dbc-940e-025c9b907c7d?source=cve)
