CtrlPanel: Authenticated Remote Code Execution via Dynamic Class Instantiation in SettingsController.php
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Ctrlpanel-gg | panel | before 1.2.0 | 1.2.0 | Patch available | CNA |
- panel VendorCtrlpanel-gg Affected before 1.2.0 Fixed in 1.2.0 Patch available CNA
Remediation
- Fix · CNA panel (Ctrlpanel-gg) Fixed in 1.2.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34216
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More Ctrlpanel-gg vulnerabilities
- TI-2026-26529 CtrlPanel: Unauthenticated RCE using installer script CVSS 3.1CRITICAL 10.0
- TI-2026-26536 CtrlPanel: Stored XSS in Ticket Reply Notifications Allows Session Hijacking CVSS 3.1HIGH 8.7
- TI-2025-18872 Ctrlpanel has stored XSS vulnerability in TicketsController priority field CVSS 3.1HIGH 8.1
- TI-2026-26644 CtrlPanel: Missing Authorization on Admin Write Endpoints Allows RBAC Bypass CVSS 3.1HIGH 8.1
- TI-2026-26528 CtrlPanel has Missing Authentication Checks in Datatable Admin Endpoints CVSS 3.1MEDIUM 6.5
- TI-2026-26541 CtrlPanel: Stored XSS in Admin Role Management via Unescaped DataTable HTML Output CVSS 3.1MEDIUM 4.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences