# CVE-2026-6933: Premmerce Dev Tools RCE via missing authorization in generatePluginHandler

Source: https://junglewise.ai/threats/cve-2026-6933-premmerce-dev-tools-rce-via-missing-authorization-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-16. Updated: 2026-06-16  
License: CC BY 4.0 with a link back

CVE-2026-6933 · Severity: high · CVSS 8.8 · Published 2026-06-16

The Premmerce Dev Tools plugin for WordPress, used by developers to streamline plugin creation, contains a security flaw that allows users with basic account access to take over the website. By sending a specially crafted request, an attacker can force the website to create and run malicious code. This could lead to a total compromise of the server, theft of customer data, or complete website downtime.

Vendors: [Premmerce](https://junglewise.ai/threats/vendors/premmerce).

## Quick answers

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

**How severe is CVE-2026-6933?** High severity, with a CVSS score of 8.8, published 16 June 2026.

**Which products and versions are affected?** Premmerce Dev Tools up to and including 2.0.

**Is there a fix for CVE-2026-6933?** 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-6933 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-6933?** Check whether you run Premmerce Dev Tools 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 vulnerability exists in the 'generatePluginHandler' function of the Premmerce Dev Tools plugin due to a lack of authorization checks on POST data. This is compounded by the 'createFromStub' function, which performs unsanitized string substitution of the 'premmerce_plugin_namespace' parameter into PHP stub files. An attacker with Subscriber-level permissions or higher can inject a semicolon and arbitrary PHP code into this parameter. The plugin then writes this malicious code into a new PHP file within the wp-content/plugins/ directory, which can be executed by accessing the file via HTTP. This results in full remote code execution (RCE).

## Affected products

- Premmerce Premmerce Dev Tools up to and including 2.0

## Timeline

- 2026-06-16: disclosed
- 2026-06-16: advisory

## References

- [https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/tags/2.0/src/Admin/Admin.php](https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/tags/2.0/src/Admin/Admin.php)
- [https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/tags/2.0/src/PluginGenerator/PluginData.php](https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/tags/2.0/src/PluginGenerator/PluginData.php)
- [https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/tags/2.0/src/PluginGenerator/PluginGenerator.php](https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/tags/2.0/src/PluginGenerator/PluginGenerator.php)
- [https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/trunk/src/Admin/Admin.php](https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/trunk/src/Admin/Admin.php)
- [https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/trunk/src/PluginGenerator/PluginData.php](https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/trunk/src/PluginGenerator/PluginData.php)
- [https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/trunk/src/PluginGenerator/PluginGenerator.php](https://plugins.trac.wordpress.org/browser/premmerce-dev-tools/trunk/src/PluginGenerator/PluginGenerator.php)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/c43c060b-7a18-49ee-a753-ae1ed2f7e04d?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/c43c060b-7a18-49ee-a753-ae1ed2f7e04d?source=cve)
