CVE-2026-6933: Premmerce Dev Tools <= 2.0 - Missing Authorization to Authenticated (Subscriber+) Remote Code Execution via Plugin Creation
The Premmerce Dev Tools plugin for WordPress is vulnerable to Remote Code Execution via missing authorization in versions up to and including 2.0. This is due to the 'generatePluginHandler' function lacking any authorization check before processing user-supplied POST data, combined with the 'createFromStub' function performing unsanitized string substitution of the 'premmercepluginnamespace' parameter directly into PHP stub files written to the wp-content/plugins/ directory. An attacker can inject a semicolon followed by arbitrary PHP code into the namespace parameter, causing the generated plugin file to contain and execute that code when accessed via HTTP. This makes it possible for authenticated attackers with Subscriber-level access and above to create arbitrary PHP files on the server and achieve remote code execution.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
Premmerce Dev Toolsfrom your environment.Disable or uninstall the Premmerce Dev Tools plugin from affected WordPress installations until an upstream fix is available.
- Configuration
Remove or restrict write permissions for the webserver/PHP user on wp-content/plugins to prevent the application from creating new PHP plugin files.
WordPress filesystem (wp-content/plugins) write permission for webserver/PHP = remove write permission - Compensating control
Restrict access to WordPress administration endpoints (wp-admin and the plugin's AJAX/handler endpoints) to trusted IPs via firewall/WAF and ensure only trusted administrator accounts can reach admin functionality.
- Operational
Search wp-content/plugins for newly created or unauthorized PHP files (including files created by the Premmerce Dev Tools plugin), remove any malicious files, restore from known-good backups if needed, and review access logs for signs of exploitation.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-6933?
CVE-2026-6933 has a high severity score of 8.8.
How do I fix CVE-2026-6933?
To address CVE-2026-6933, update the Premmerce Dev Tools plugin to a version greater than 2.0.
What is the impact of CVE-2026-6933?
CVE-2026-6933 allows for Remote Code Execution due to missing authorization, potentially exposing sensitive data.
Who is affected by CVE-2026-6933?
Any user of the Premmerce Dev Tools plugin for WordPress version 2.0 or lower is affected by CVE-2026-6933.
What causes CVE-2026-6933?
CVE-2026-6933 is caused by the lack of authorization checks in the 'generatePluginHandler' function when processing user input.