PHP Class Injection Vulnerability in Code16 Sharp by Code16
CVE-2026-84974
5.4MEDIUM
What is CVE-2026-84974?
Code16 Sharp, a Laravel-based framework for building content-management and administrative interfaces, contains a vulnerability that allows an authenticated attacker to submit arbitrary PHP class names via the embed_key parameter in multiple API endpoints. This could lead to unauthorized effects on the integrity or availability of the application, as the framework passes the class name to the Laravel service container, executing the __construct() method and potentially instantiating dependent classes recursively. Importantly, however, the attacker cannot manipulate constructor parameters or call arbitrary methods. This vulnerability has been addressed in version 9.23.0.
Affected Version(s)
sharp < 9.23.0
