CWE-470Weakness · CWE-470

CVE-2026-34216

MEDIUM · 6.6 CVSS v3.1 Published 2026-05-19
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
72/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

CtrlPanel versions 1.1.1 and prior contain an authenticated RCE vulnerability where the admin settings update endpoint accepts a user-supplied class name (settings_class) directly from HTTP input and passes it to dynamic PHP instantiation (new $settings_class()) and static method calls ($settings_class::getValidations()) without any allowlist validation. Since PHP resolves class names against the Composer autoloader at runtime, any autoloadable class can be instantiated, potentially triggering unintended constructor or magic method execution through PHP object injection gadget chains.

MitigationUpgrade to version 1.2.0 or implement allowlist validation for the settings_class parameter to ensure only legitimate, pre-approved settings classes can be dynamically instantiated.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify CtrlPanel version
    Check the installed CtrlPanel version by examining composer.json, a version.php file, or the application's main index/bootstrap file for a version constant. Compare against 1.1.1 and prior.
    Affected if Running CtrlPanel version 1.1.1 or prior
  2. Locate admin settings endpoint
    Search the application source code for files handling admin settings updates. Look for code that processes a 'settings_class' HTTP request parameter, especially in controllers or routes related to 'settings', 'admin', or 'update'.
    Affected if The settings_class parameter is accepted from user input in admin functionality
  3. Verify dynamic class instantiation exists
    Examine the code handling settings_class. Look for patterns like 'new $settings_class()' or '$settings_class::getValidations()' where $settings_class comes directly from $_POST, $_GET, or similar user input without validation.
    Affected if Code directly uses the settings_class parameter in dynamic instantiation or static method calls without allowlist validation
  4. Confirm Composer autoloader is in use
    Check if the application uses Composer's autoload.php (typically in vendor/autoload.php). If Composer is used, any class registered with the autoloader can potentially be instantiated through the vulnerable parameter.
    Affected if Application uses Composer autoloader and settings_class parameter is not validated against an allowlist

User is affected if running CtrlPanel 1.1.1 or prior and the admin settings endpoint accepts and uses the settings_class parameter in dynamic PHP calls without allowlist validation.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to version 1.2.0 or implement allowlist validation for the settings_class parameter to ensure only legitimate, pre-approved settings classes can be dynamically instantiated.

Recommended fix High confidence

CtrlPanel version 1.2.0

  1. 1. Verify the current installed version of CtrlPanel by checking the application or composer.json
  2. 2. Back up the entire application and database before making any changes
  3. 3. If using Composer, run 'composer update' to get the latest version of CtrlPanel
  4. 4. If using a pre-packaged installation, download CtrlPanel version 1.2.0 from the official repository
  5. 5. Replace the existing application files with the new version 1.2.0 files
  6. 6. Run any database migrations if required by reviewing the release notes
  7. 7. Test the admin settings functionality to ensure the application works correctly
  8. 8. Verify that the settings_class parameter is no longer directly usable for instantiation

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing3.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,750
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-34216 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-34216 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data