CVE-2026-6933

Premmerce Dev Tools <= 2.0 - Missing Authorization to Authenticated (Subscriber+) Remote Code Execution via Plugin Creation

Published Jun 16, 2026 CVSS 3.1 · 8.8 High EPSS 1.1% KEV · Not listed
Description
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 'premmerce_plugin_namespace' 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.

Analysis

AI-generated

Technical impact

The Premmerce Dev Tools plugin for WordPress implements a function that creates new plugins based on user input. In versions up to and including 2.0, this function checks no user privileges before processing the request. It substitutes the supplied “premmerce_plugin_namespace” value directly into PHP stubs without sanitisation. An attacker who can authenticate as a Subscriber or higher can inject a PHP instruction after a semicolon, causing the generated file to contain and execute that code when served. This flaw is an example of CWE-434, allowing untrusted code execution on the server. If exploited, the attacker can gain full control over the hosting environment, read, modify, or delete data, and pivot to other systems.

Affected Systems

WordPress installations running Premmerce Dev Tools version 2.0 or earlier. Any site that has the plugin enabled and contains a user account with Subscriber-level access or greater can exploit the vulnerability.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. The EPSS score is less than 1%, signalling that observed exploitation is extremely uncommon at the time of this analysis. The vulnerability is not listed in CISA KEV, but remote code execution remains available to authenticated users. The likely attack path involves submitting a crafted POST request to the plugin generation endpoint with a malicious namespace value; the attacker must already have WordPress login credentials to reach the endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Premmerce Dev Tools to the latest released version that addresses the authorization check; if no newer version is available, uninstall the plugin entirely.
  • If an upgrade is not feasible, disable or restrict the plugin generation endpoint so that Subscriber+ users cannot trigger plugin creation, adding role‑based access control.
  • As a containment measure, set the wp-content/plugins directory to read‑only for the web server or employ a security plugin to monitor for unauthorized file creation and block any PHP files generated by the plugin.

Generated by OpenCVE AI on June 16, 2026 at 21:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Premmerce
Premmerce premmerce Dev Tools
Wordpress
Wordpress wordpress
Vendors & Products Premmerce
Premmerce premmerce Dev Tools
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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 'premmerce_plugin_namespace' 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.
Title Premmerce Dev Tools <= 2.0 - Missing Authorization to Authenticated (Subscriber+) Remote Code Execution via Plugin Creation
Weaknesses CWE-434
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jun 16, 2026, 2:52 PM
Reserved
Apr 23, 2026, 6:26 PM
Status
Deferred
Published
Jun 16, 2026, 6:16 AM
Modified
Jun 17, 2026, 11:01 AM