VYPR
Medium severity6.6NVD Advisory· Published May 19, 2026· Updated May 20, 2026

CVE-2026-34216

CVE-2026-34216

Description

CtrlPanel is open-source billing software for hosting providers. In versions 1.1.1 and prior, the admin settings update endpoint accepted a fully qualified class name directly from user-supplied request input and used it for dynamic static method calls and object instantiation without any allowlist validation, allowing for authenticated Remote Code Execution. An authenticated admin-level user could supply an arbitrary class name available in the Composer autoloader, potentially triggering unintended constructor or magic method execution. The update() method reads settings_class directly from the HTTP request and passed it to new $settings_class() and $settings_class::getValidations() without verifying that the provided value corresponds to a legitimate settings class: Because PHP resolves class names against the Composer autoloader at runtime, any autoloadable class in the application or its dependencies could be instantiated. Depending on the classes available in the dependency tree, this can trigger unintended side effects through constructors or magic methods (__construct, __toString, __wakeup), following a PHP object injection / gadget chain pattern. This issue has been fixed in version 1.2.0.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

CtrlPanel admin settings endpoint allowed unsafe dynamic class instantiation, enabling authenticated admin-level users to achieve RCE by supplying arbitrary autoloadable class names.

Vulnerability

In CtrlPanel versions 1.1.1 and prior, the admin settings update endpoint in app/Http/Controllers/Admin/SettingsController.php accepts a fully qualified class name from user-supplied request input (the settings_class parameter) and uses it for dynamic static method calls and object instantiation without any allowlist validation. This allows an authenticated admin-level user to supply an arbitrary class name available in the Composer autoloader, potentially triggering unintended constructor or magic method execution [1], [2].

Exploitation

An attacker must have admin-level write permissions and a valid CSRF token. They send a POST request to /admin/settings with settings_class set to an arbitrary autoloadable class name (e.g., Some\Autoloadable\VendorClass). The server accepts the request and attempts to instantiate the provided class rather than rejecting it as invalid, as shown in the advisory's proof of concept [2].

Impact

Successful exploitation can lead to arbitrary object instantiation and, if combined with available gadget chains in dependencies, may result in remote code execution (RCE). The attacker gains the ability to execute arbitrary code within the context of the web application, potentially leading to full compromise of the hosting panel and its data [2].

Mitigation

The vulnerability has been fixed in CtrlPanel version 1.2.0. Users should upgrade immediately [1]. No workarounds are documented. The CVE is not listed in the Known Exploited Vulnerabilities (KEV) catalog as of publication.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.