CVE-2026-84974
code16 Sharp: Arbitrary Class Instantiation via an API parameter
- Severity
- medium CVSS 5.4 (v3.1)
- Affects
- sharp · code16
- Weakness
- CWE-470: Use of Externally-Controlled Input to Select Classes or Code
- Published
- 17 November 2026 by GitHub_M
code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Prior to 9.23.0, an authenticated attacker can submit an arbitrary PHP class name through the embed_key parameter to multiple embed API endpoints. The application passes the selected class to the Laravel service container, which invokes the class's __construct() method and recursively instantiates constructor dependencies, potentially causing unauthorized integrity or availability effects. The attacker cannot supply constructor parameter values or invoke an arbitrary method. This issue is fixed in version 9.23.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.